Skip to content

Collection of useful docker-scripts

License

Notifications You must be signed in to change notification settings

avides/docker-scripts

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