docker image 指令

docker image ls -f dangling=true //查看虚悬镜像
[root@u95eau5e972u53f7 docker]# docker image prune //清空虚悬镜像
WARNING! This will remove all dangling images.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
docker image ls -a //查看中间层镜像,其它镜像的依赖层不能删除
docker images ls --digests //镜像摘要

猜你喜欢

转载自www.cnblogs.com/jackey2015/p/11941362.html