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
Options
--digestPin every image to the digest that runs too, as tag@digest
--yesWrite the change to the disk copy (deploy it after with
stack deploy)--waitAfter a redeploy, wait out the 2-minute compare with before. Without it the facts timer runs it (
SeawallDeployWorse)
Examples
seawall stack pin blog
seawall stack pin blog --digest
seawall stack pin blog --yes
Notes
Deploy it after with stack deploy.