Error response from daemon: rpc error: code = FailedPrecondition
程序员文章站
2022-03-12 12:27:37
...
删除docker swarm下的节点报错:
Error response from daemon: rpc error: code = FailedPrecondition desc = node y2qsyjdbfmm4tjwh4p9wqlmq1 is not down and can’t be removed
解决(需要把active状态的节点修改掉):
[[email protected] ~]$ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
875ul8zt886yee5bp115xevpe * centos-node1 Ready Active Leader 19.03.5
y2qsyjdbfmm4tjwh4p9wqlmq1 centos-node2 Down Active 19.03.5
[[email protected] ~]$ docker node update --help
[[email protected] ~]$ docker node update --availability drain y2qsyjdbfmm4tjwh4p9wqlmq1
[[email protected] ~]$ docker node rm y2qsyjdbfmm4tjwh4p9wqlmq1
推荐阅读
-
Docker获取镜像报错docker: Error response from daemon
-
docker 安装 Error response from daemon: Cannot start container no such file or directory
-
Docker获取镜像报错docker: Error response from daemon
-
Docker : docker: Error response from daemon: user specified IP address is supported on user defined
-
Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
-
docker: Error response from daemon: Conflict.
-
Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable
-
Error response from daemon: rpc error: code = Unknown desc = The swarm does not have a leader. It‘s
-
docker swarm错误: Error response from daemon: rpc error: code = 4 desc = context deadline exceeded
-
Error response from daemon: rpc error: code = FailedPrecondition