could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the n

如果你在创建自定义网络时,$ docker network create --driver bridge my-net出现下面的提示:

Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

这是因为Docker默认支持30个不同的自定义bridge网络,如果超过这个限制,就会提示上面的错误。你可以使用命令docker network ls来查看你创建的网络,然后通过命令docker network prune来移除没有使用的网络。

你可能感兴趣的:(Docker)