composerize
http://composerize.com - Turns docker run commands into docker-compose files!
CLI
composerize can be run in the cli.
npm install composerize -g
to install, and run as such:
$ composerize docker run -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro --restart always --log-opt max-size=1g nginx
Contributing
- Clone a fork of the repo and install the project dependencies by running
yarn
- Make your changes, and build the project by running
make build
- Test your changes with
make test
yarn version
Needs [email protected]. See yarnpkg/yarn#7734.
Maintainers
- Mark Larah (Twitter: @mark_larah)