Skip to content

desmonet/docker-composition-installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

docker-composition-installer

Generic script to install a docker composition program as a daemon with complete boot/init scripts.

Compatible only with Linux for now (sysvinit or systemd init systems).

Dependencies: python, wget (for docker), pip (for docker-compose)

Usage

Just copy install.py somewhere in your docker-compose project and run it as root or with sudo.

It will install Docker and docker-compose automatically only if they are not installed yet.

usage: install.py [-h] [--uninstall] [--systemd] [composition_file]

Install this docker composition program as a daemon with boot init (sysvinit
by default).

positional arguments:
  composition_file  the path of the YAML composition file to use (optional)

optional arguments:
  -h, --help        show this help message and exit
  --uninstall       uninstall the daemon
  --systemd         use systemd

Help

Needed for MacOS and Windows versions

License

The MIT License (MIT)

Copyright (c) 2016 Guillaume Pellerin @yomguy

About

Generic script to install a docker composition as a daemon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%