could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
- 使用
docker network ls
查看network数量
docker network prune
关闭未使用的网络
1 2 3 4 5 6 7 8 9 10 11 12
| FROM node:10-alpine
RUN npm config set registry https://registry.npm.taobao.org ADD ./package.json /apps/ WORKDIR /apps RUN npm install
COPY ./ /apps RUN npm run release
FROM nginx:alpine COPY --from=0 /apps/dist/ /usr/share/nginx/html/
|
1 2
| docker rmi `docker images | grep "<none>" | awk '{print $3}'`
|
1 2 3 4 5 6 7 8 9 10 11 12 13
| docker rmi `docker images | grep "months ago" | awk '{print $3}'`
docker stop `docker ps | grep "weeks ago" | awk '{print $1}'`
docker image prune -a --force --filter "until=4320h"
docker system prune
docker system df
|