首页 新闻 会员 周边

docker swarm 部署时 with-registry-auth 不起作用

0
悬赏园豆:30 [待解决问题]

使用下面的脚本在 docker swarm 上部署应用

docker stack deploy -c scripts/docker/docker-stack-compose-web.yml --with-registry-auth $NAME

总是提示

image xxx could not be accessed on a registry to record
its digest. Each node will access xxx independently,
possibly leading to different nodes running different

登录到对应的节点服务器用 docker pull 命令可以正常下载镜像,请问如何解决这个问题?

dudu的主页 dudu | 高人七级 | 园豆:30994
提问于:2020-07-25 10:55
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册