docker基本用法之镜像操作

查找镜像

docker search centos

下载镜像

docker pull centos

查看本地镜像

docker images

删除镜像,加入-f参数强制删除

docker rmi <images id>

把镜像做成压缩包

docker save -o centos.tar.gz centos

加载镜像

docker load -i centos.tar.gz

发表评论

后才能评论