Skip to main content

Generate docker-compose file from existing containers

Project description

ComposeIt

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 setup.py install --user

Installing with pip

pip3 install ComposeIt

Usage

ComposeIt <container id or name> <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-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ComposeIt-1.0.0.tar.gz.

File metadata

  • Download URL: ComposeIt-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.3

File hashes

Hashes for ComposeIt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 039ca8cb984eb4aa37ab27c7135ceb64093260ef2e4d5c905c65c3cc2d4ad03d
MD5 764c69b0ece9eef037452ac5ad44095f
BLAKE2b-256 e0eecda90df736043e69774aecdc7988d101c3a743c6dd22bf9f98817a3e88c3

See more details on using hashes here.

File details

Details for the file ComposeIt-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ComposeIt-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.3

File hashes

Hashes for ComposeIt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3edd228a37fb7c41169cad6fe4e36ba0da8d3f1daadf0d3c2789dc71291d464
MD5 ae0137c30ef2a72b399ed34d69fac46c
BLAKE2b-256 66932aac7349ffda9daaac664d7e053041e7f3992393b16820174d24f455889c

See more details on using hashes here.

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