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
AI 代码解读

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

在这里插入图片描述

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

ERROR: 2 matches found based on name: network product-server_default is ambiguous
AI 代码解读

解决方法

 docker network ls

# 删除报错的两个 product-server_default 即可:
docker network rm d95512e66713 
docker network rm 8b094834a5c1
AI 代码解读
目录
打赏
0
0
0
0
174
分享
相关文章
|
10月前
|
Field ‘xxx‘ doesn‘t have a default value
Field ‘xxx‘ doesn‘t have a default value
96 0
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
1030 0
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 解决办法
2213 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>.
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:
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等