Creating network "soft_default" with the default driver ERROR: cannot create network e5b60

报错说明:

docker-compose启动容器报错,具体报错信息如下

Creating network "soft_default" with the default driver ERROR: cannot create network e5b60fc347db868e471b61ea185fd24e3ea7e2730149d91ad70baf29732aaff0 
(br-e5b60fc347db): conflicts wi

解决方法如下:

1 docker rm `docker pa -a -q` ##删除所有的容器 docker rm 容器ID
2 
3 systemctl stop docker  ##停止docker
4 
5 rm /var/lib/docker/network/files/local-kv.db
6 
7 systemctl start docker

 

上一篇:1.3 Creating a Database


下一篇:java8新特性:一,Lambda 表达式