docker-compose启动报错:Creating network "soft_default" with the default driver ERROR: cannot create network e5b60fc347db868e471b61ea185fd24e3ea7e2730149d91ad70baf29732aaff0 (br-e5b60fc347db): conflicts wi
docker-compose启动容器时出现报错
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
解决方法如下:
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