seawall stack pin

Pin each image on a moving tag to the version that runs now (writes the disk copy).

Pin each image on a moving tag to the version that runs now (writes the disk copy)

latest, stable or no tag at all becomes the version tag whose digest is the image running now, so nothing new is pulled; with none, the running digest beside its tag. An image with a version or a digest is never touched, unless --digest.

Usage

seawall stack pin [OPTIONS] <STACK>

Changes the host

Without --yes it prints the plan and changes nothing.

Arguments

<STACK>

The stack, by Portainer name or directory

Required.

Options

--digest

Pin every image to the digest that runs too, as tag@digest

--yes

Write the change to the disk copy (deploy it after with stack deploy)

--wait

After a redeploy, wait out the 2-minute compare with before. Without it the facts timer runs it (SeawallDeployWorse)

Every command also takes the global options.

Examples

seawall stack pin blog
seawall stack pin blog --digest
seawall stack pin blog --yes

Notes

Deploy it after with stack deploy.