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.

Source Distribution

ComposeIt-1.0.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

ComposeIt-1.0.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page