Can't create Docker network

2019-03-15 18:03发布

I've been able to start my Docker application without a problem but suddenly I get this error:

failed to parse pool request for address space "LocalDefault" pool "" subpool "": could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

I'm running Docker 1.12.6.

How do I fix this?

标签: docker
2条回答
我想做一个坏孩纸
2楼-- · 2019-03-15 18:46

Turns out there's a limit to the number of simultaneously active Docker networks and I hit that limit.

I got around the issue by removing all my networks:

docker network ls -q | xargs docker network rm
查看更多
来,给爷笑一个
3楼-- · 2019-03-15 19:07

I experienced this issue while running an OpenVPN client which was also my default route. Stopping the OpenVPN client worked around the issue.

查看更多
登录 后发表回答