docker 基本操作Ⅱ(关于镜像操作)
1 通过模板创建镜像 - 导入镜像基本操作 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 https: //openvz .org /Download/template/precreated 在这个网址里面下载对应的模板 [root@chysrc] #wgethttp://download.openvz.org/template/precreated/centos-7-x86_64-minimal.tar.gz//下载centos7的模板 [root@chysrc] #catcentos-7-x86_64-minimal.tar.gz|dockerimport-centos7//导入镜像 sha256:3e6c83d2f3749ae4cde27673354cab305bfdc360e40d10d072f6a7dfd3edcdca [root@chysrc] #dockerimages//查看已经导入的镜像 REPOSITORYTAGIMAGEIDCREATEDSIZE centos7latest3e6c83d2f3742minutesago435MB cent...


