@basetis/docker-utils
v1.1.4
Published
Some utilities for the Docker engine, used internally at Basetis.
Readme
docker-utils
Some utilities for the Docker engine, used internally at Basetis.
To use, first install Node.js, then:
npm i -g @basetis/docker-utilsdocker-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.
