__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

View file

@ -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