Generate docker-compose file from existing containers
Project description
ComposeIt
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> <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-0.4.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for ComposeIt-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcf8a8e0bc5c26f4488539826048fc2eb1067d77dc9e5472caa6e5140220a765 |
|
MD5 | b9d591ae144f74ca0fcd90492dc4a777 |
|
BLAKE2b-256 | 1ee17a371b7348fe6b4f5ee406e68ea0aa7edc619e5904e95315e16ae9e2bde1 |