Error response from daemon: could not find an available

docker-compose up 失败,提示:

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

需指定子网

docker network create --subnet=192.168.1.0/24 test1
1

reference