1: 拉取镜像到本地
docker pull 镜像名称[:tag]
docker pull daocloud.io/library/tomcat:8.5.15-jre8
2:查看全部本地镜像
docker images
3:删除本地镜像
docker rmi 镜像的标识(image id)
4:镜像的导入导出
4.1 将本地的镜像导出
docker save -o 导出的路径 镜像id
docker save -o ./tomcat.image b8d
4.2 从本地文件导入到镜像
docker load -i 本地镜像文件
docker load -i tomcat.image
4.3修改无名的镜像文件
docker tag imageid 镜像名称[:tag]
docker tag b8d tomcat:8.5