Skip to content

basetis/docker-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

docker-utils

Some utilities for the Docker engine, used internally at Basetis.

To use, first install Node.js, then:

npm i -g @basetis/docker-utils

docker-upgrade

docker-upgrade <container> <image_tag>

Re-launch a container with a new image, preserving its config.

To minimize downtime, the image is pulled first if necessary. Then the container is stopped, removed, and a new one is started.

For convenience, you can just supply :TAG and the repo part will be detected from the running container. Or, if no image is passed, the same tag will be pulled and used.

About

๐Ÿ›  Utility commands for the Docker engine

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors