forked from ungleich-public/cdist
__docker_stack: Use --with-registry-auth deploy option
Without this option, Swarm agents are unable to download images from private registries.
This commit is contained in:
parent
09642142f4
commit
aa20ed5ea1
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ case "${state}" in
|
||||||
eof
|
eof
|
||||||
|
|
||||||
docker stack deploy --compose-file "\${compose_file}" \
|
docker stack deploy --compose-file "\${compose_file}" \
|
||||||
--prune ${stack}
|
--prune --with-registry-auth ${stack}
|
||||||
|
|
||||||
rm "\${compose_file}"
|
rm "\${compose_file}"
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue