Skip to main content

Generate docker-compose file from existing containers

Project description


GitHub license PyPI version

Python tool for creating a docker-compose.yml file from an existing container

Docker image usage

docker run --rm -ti \
  -v /var/run/docker.sock:/var/run/docker.sock \
  sithladyraven/composeit \
  <container id or name> <container id or name> ...

Installing from source

python3 install --user

Installing with pip

pip3 install ComposeIt


ComposeIt <container id or name> <container id or name> ...


Option Description Default
--socket, -s docker socket unix://var/run/docker.sock

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ComposeIt, version 1.0.0
Filename, size & hash File type Python version Upload date
ComposeIt-1.0.0-py3-none-any.whl (4.9 kB) View hashes Wheel py3
ComposeIt-1.0.0.tar.gz (3.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page