ERROR: 2 matches found based on name: network product-server_default is ambiguous

简介: ERROR: 2 matches found based on name: network product-server_default is ambiguous

环境

阿里云服务器,CentOs 7.2 64位

出现原因

启动脚本内容如下:

docker-compose down
docker rmi product-server_product
docker-compose up -d

服务器中两人同时执行启动脚本后,出错如下:

在这里插入图片描述

后面执行命令 docker-compose up -d 时错误信息如下:product-server

ERROR: 2 matches found based on name: network product-server_default is ambiguous

解决方法

 docker network ls

# 删除报错的两个 product-server_default 即可:
docker network rm d95512e66713 
docker network rm 8b094834a5c1
相关文章
|
6月前
|
Java
【ERROR】‘<>‘ operator is not allowed for source level below 1.7
【ERROR】‘<>‘ operator is not allowed for source level below 1.7
73 0
|
7月前
|
数据库
Field ‘xxx‘ doesn‘t have a default value
Field ‘xxx‘ doesn‘t have a default value
61 0
|
关系型数据库 MySQL Linux
SQLSTATE[HY000]: General error: 1364 Field ‘xxx’ doesn't have a default value 解决办法
SQLSTATE[HY000]: General error: 1364 Field ‘xxx’ doesn't have a default value 解决办法
1770 0
|
数据库
Field ‘id‘ doesn‘t have a default value
Field ‘id‘ doesn‘t have a default value
177 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
190 0
|
数据库
Multiple Server Query Execution报The result set could not be merged..
在SQL Server中使用Multiple Server Query Execution这个功能做数据库维护或脚本发布时非常方便,昨天由于磁盘空间原因,删除清理了大量的软件和组件,结果导致SSMS客户端出了问题,重装过后,使用Multiple Server Query Execution时,出现了...
1005 0
|
应用服务中间件 数据格式 JSON
Tomcat 8 Invalid character found in the request target. The valid characters are defined in RFC 3986
终极解决方案: Invalid character found in the request target. The valid characters are defined in RFC 3986 25-Aug-2018 11:27:27.
21195 0