docker-compose啓動報錯:Creating network "soft_default" with the default driver ERROR: cannot create netw

docker-compose啓動容器時出現報錯docker

Creating network "soft_default" with the default driver
ERROR: cannot create network e5b60fc347db868e471b61ea185fd24e3ea7e2730149d91ad70baf29732aaff0 (br-e5b60fc347db): conflicts with network 7c8a9ef774e2a7047f0910e60be34cc0930b8dfda2d75d6ebe94d6d64189e5dd (br-7c8a9ef774e2): networks have overlapping IPv4

 

解決方法以下:app

1, Remove all containers, so docker ps --all shows nothing. ##刪除全部的容器 docker rm 容器ID

2, systemctl stop docker  ##中止docker

3, rm /var/lib/docker/network/files/local-kv.db

4, systemctl start docker
相關文章
相關標籤/搜索