Skip to content
/ sdsu Public

Service for upgrade docker service to image (the newest) with load from regitsry

License

Notifications You must be signed in to change notification settings

Negashev/sdsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Schedule docker service upgrade

Service for upgrade docker service to image (the newest) with load from regitsry

SERVICE_IMAGE - image for update

SERVICE_ID - ID or name of the service

SERVICE_INTERVAL_UPGRADE - time in seconds for scheduler

using

Update service test-service every 1 hour to latest nginx:alpine

docker run -it
 -e SERVICE_ID=test-service
 -e SERVICE_IMAGE=nginx:alpine  
 -e SERVICE_INTERVAL_UPGRADE=3600
 -v /var/run/docker.sock:/var/run/docker.sock
 negash/sdsu

About

Service for upgrade docker service to image (the newest) with load from regitsry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages