__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:
lubo 2018-04-29 13:02:18 +02:00
parent 09642142f4
commit aa20ed5ea1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ case "${state}" in
eof
docker stack deploy --compose-file "\${compose_file}" \
--prune ${stack}
--prune --with-registry-auth ${stack}
rm "\${compose_file}"
EOF