把在使用的Linux系统作成docker镜像

1.选定制做成镜像的系统 2.系统进行格式转化并压缩,执行以下命令,生成一个镜像的centos7-base.tar的文件 tar --numeric-owner --exclude=/proc --exclude=/sys -cvf centos7-base.tar /           3.docker import 导入   把镜像文件centos7-base.tar放到装有docker的系
相关文章
相关标签/搜索