{"repo":"Red5d/docker-autocompose","free":true,"listed":false,"github":"https://github.com/Red5d/docker-autocompose","clone":"git clone https://github.com/Red5d/docker-autocompose.git","description":"Generate a docker-compose yaml definition from a running container","language":"Python","stars":2584,"topics":["docker","compose","docker-compose","automation"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"docker-autocompose Generates a docker-compose yaml definition from a docker container. Required Modules: pyaml docker For building this project poetry is required. Install it with the package manager of your OS or if that's impossible with pip . Install them: poetry install Example Usage: poetry run autocompose Generate a compose file for multiple containers together: poetry run autocompose apache-test mysql-test The script defaults to outputting to compose file version 3, but use \"-v 1\" to output to version 1: poetry run autocompose -v 1 apache-test Outputs a docker-compose compatible yaml structure: docker-compose reference docker-compose yaml file specification While experimenting with various docker containers from the Hub, I realized that I'd started several containers with complex options for volumes, ports, environment variables, etc. and there was no way I could remember all those commands without referencing the Hub page for each image if I needed to delete and re-create the container (for updates, or if something broke). With this tool, I can easily generate docker-compose files for managing the containers that I've set up manually. Native installation System-wide installation is discouraged. If you really need to, you can run pip install --user --break-system-packages . (use at your own discretion). There are unofficial packages available in the Arch User Repository: Stable Development (follows the master branch) AUR packages are provided by a third party and are n","default_branch":null,"files":null,"tree":[],"storefront":"/r/Red5d","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Red5d/docker-autocompose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}