Skip to content

Collection of useful docker-scripts

License

Notifications You must be signed in to change notification settings

avides/docker-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

de65f0b · Mar 7, 2019

History

12 Commits
Mar 7, 2019
Sep 4, 2017
Mar 7, 2019
Jan 17, 2018
Aug 31, 2018
Jan 17, 2018
Jan 17, 2018
Mar 7, 2019
Mar 7, 2019

Repository files navigation

Docker-Scripts

Reschedule all services

curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-reschedule-all.sh | bash

Reschedule required services

curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-reschedule-required.sh | bash

Scale all replicas to 0

curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-stop.sh | bash

Scale all replicas to 1

curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-scale1.sh | bash

Replica-size backup

curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-backup.sh | bash > backup.txt

Restore replica-size

curl -O https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-start.sh && cat backup.txt | bash docker-swarm-replica-start.sh

About

Collection of useful docker-scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages