Error response from daemon: rpc error: code = AlreadyExists desc = name conflicts with an existing o

Posted qfpanda

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error response from daemon: rpc error: code = AlreadyExists desc = name conflicts with an existing o相关的知识,希望对你有一定的参考价值。

主机环境 centos7.2

执行 docker service create --replicas 6 --name myweb -p 80:80 nginx:latest 时

报 Error response from daemon: rpc error: code = AlreadyExists desc = name conflicts with an existing object: service myweb already exists

报错原因:项目名冲突

docker service ls 查看所有的服务

技术图片

 

 删除

技术图片

 

 再次运行

技术图片

成功

以上是关于Error response from daemon: rpc error: code = AlreadyExists desc = name conflicts with an existing o的主要内容,如果未能解决你的问题,请参考以下文章

docker search 问题(Error response from daemon)

Docker login harbor Error response from daemon: Get https

Docker Error response from daemon,Docker 换镜像

本地docker不能登录远程harbor服务器,error response from daemon,error parsing http 403 response body

本地docker不能登录远程harbor服务器,error response from daemon,error parsing http 403 response body

Error response from daemon: rpc error: code = Unknown desc = name conflicts with