无法创建Docker网络 [英] Can't create Docker network

查看:176
本文介绍了无法创建Docker网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够毫无问题地启动我的Docker应用程序,但突然我收到此错误:

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


无法解析池请求对于地址空间 LocalDefault池
子池:在分配给网络的默认值中找不到可用的,不重叠的IPv4地址

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

我正在运行Docker 1.12.6。

I'm running Docker 1.12.6.

我该如何解决?

推荐答案

结果同时活动的Docker网络的数量有一个限制,我达到了这个限制。

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

这篇关于无法创建Docker网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆