mirror of
https://github.com/Red5d/docker-autocompose
synced 2026-08-31 16:51:47 +00:00
7b616a0a41a6bd323686b17cde0b307a17b20bc3
docker-autocompose
Generates a docker-compose yaml definition from a running container.
Required Modules:
Example Usage:
sudo python autocompose.py container-name
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.
Languages
Python
97.5%
Dockerfile
2.5%