docker swarm service无法启动问题(no suitable node (scheduling constraints not satisfied on 3 nodes)

用docker swarm启动一个服务失败,报错

[root@master auth-permission]# ./start-dis.sh 
citydew-permission
image openjdk:1.0.0 could not be accessed on a registry to record
its digest. Each node will access openjdk:1.0.0 independently,
possibly leading to different nodes running different
versions of the image.

rj0b1yhbvkmkuf3aclv3ce7h8
overall progress: 0 out of 1 tasks 
1/1: no suitable node (scheduling constraints not satisfied on 3 nodes) 
^COperation continuing in background.
Use `docker service ps rj0b1yhbvkmkuf3aclv3ce7h8` to check progress.
[root@master auth-permission]# 

解决:启动脚本指定的容器之前写成了node1节点,后面改成了master节点。可以启动
docker swarm service无法启动问题(no suitable node (scheduling constraints not satisfied on 3 nodes)_第1张图片

你可能感兴趣的:(Docker,BUG)