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
相关文章
|
7月前
|
数据库
Field ‘xxx‘ doesn‘t have a default value
Field ‘xxx‘ doesn‘t have a default value
64 0
|
前端开发 安全
| 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
812 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 解决办法
1805 0
错误代码: 1364 Field ‘password‘ doesn‘t have a default value
错误代码: 1364 Field ‘password‘ doesn‘t have a default value
|
数据库
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 问题解决
192 0
|
关系型数据库 MySQL 数据安全/隐私保护
Could not obtain connection to query metadata : Public Key Retrieval is not allowed
Could not obtain connection to query metadata : Public Key Retrieval is not allowed
581 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.
21197 0