Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
/ ComposeIt Public archive

Generate docker-compose file from existing containers

License

Notifications You must be signed in to change notification settings

SithLadyRaven/ComposeIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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