Skip to content

Initialize an instance to deploy workloads via docker-compose

Notifications You must be signed in to change notification settings

paubarranca/init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Init docker

Installation

cd /root/; apt install git -y --no-install-recommends; git clone https://github.com/paubarranca/init.git; bash /root/init/bootstrap.sh

Utilization and cases of use

Basic use

/root/init/init.sh
  • Create and pull the containers specified in the docker-compose.yml root file

Pull images

/root/init/init.sh --pull
  • Create and pull the containers specified in the docker-compose.yml root file, also refreshes the existing images

Stop containers

/root/init/init.sh --stop
  • Stop and delete all the existing containers

Recreate containers

/root/init/init.sh --recreate
  • Stop and delete all the existing containers, and create the ones that are defined in the docker-compose

Cleanup

/root/init/init.sh --clean
  • Stop and delete all the containers that are not running, and delete all unused images

Update

/root/init/init.sh --update
  • Makes a copy of the docker-compose and install the latest version of init

About

Initialize an instance to deploy workloads via docker-compose

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages