Python tool for creating a docker-compose.yml file from an existing container
docker run --rm -ti \
-v /var/run/docker.sock:/var/run/docker.sock \
sithladyraven/composeit \
<container id or name> <container id or name> ...
python3 setup.py install --user
pip3 install ComposeIt
ComposeIt <container id or name> <container id or name> ...
Option | Description | Default |
---|---|---|
--socket, -s | docker socket | unix://var/run/docker.sock |