Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/reference/commandline/stack_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ Creating service vossibility_ghollector
Creating service vossibility_lookupd
```

### Image pull (--resolve-image)

By default (`--resolve-image always`) the manager asks the registry for
a digest and workers pull that digest when they start a task. A moving
tag such as `:latest` therefore becomes whatever the registry has *now*,
not whatever happened to be cached on the node.

`--resolve-image changed` only re-resolves if the tag in the Compose
file changed. `--resolve-image never` leaves the image name as written
and does not query the registry on deploy (nodes still pull if they
do not already have the image).

You can verify that the services were correctly created:

```console
Expand Down