Skip to content

Instantly share code, notes, and snippets.

@dohsimpson
Created March 20, 2018 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dohsimpson/789d36526295846ef07392a92c3f2889 to your computer and use it in GitHub Desktop.
Save dohsimpson/789d36526295846ef07392a92c3f2889 to your computer and use it in GitHub Desktop.
Docker Tools
composerize: turn docker cli command into docker-compose file
* composerize docker run -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro --restart always --log-opt max-size=1g nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment