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
相关文章
|
10月前
|
数据库
Field ‘xxx‘ doesn‘t have a default value
Field ‘xxx‘ doesn‘t have a default value
96 0
|
10月前
|
安全 Java 应用服务中间件
A configuration error occurred during startup.Please verify the preference field with the prompt: To
A configuration error occurred during startup.Please verify the preference field with the prompt: To
|
前端开发 安全
| ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lin
| ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lin
1028 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 解决办法
2210 0
错误代码: 1364 Field ‘password‘ doesn‘t have a default value
错误代码: 1364 Field ‘password‘ doesn‘t have a default value
​Error -4075: File not found. An error occurred merging module <MODULENAME> for feature <FEATURENAME>.
​Error -4075: File not found. An error occurred merging module <MODULENAME> for feature <FEATURENAME>.
137 0
​Error -4075: File not found. An error occurred merging module <MODULENAME> for feature <FEATURENAME>.
|
应用服务中间件 Android开发
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
159 0
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name: