Skip to main content

Generate docker-compose file from existing containers

Project description

ComposeIt

GitHub license PyPI - Python Version 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 \
  kelsey19/composeit \
  <container id or name>

Installing from source

python3 setup.py install --user

Installing with pip

pip3 install ComposeIt

Usage

ComposeIt <container id or name>

Options

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-0.3.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

ComposeIt-0.3.2-py3-none-any.whl (4.0 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