摘要: 1、把当前的环境打包 # tar --numeric-owner --exclude=/proc --exclude=/sys -cvf centos7-base.tar / 2、制作镜像 把打包的tar包通过docker import 命令生成镜像,镜像名字为centos7_test # cat 阅读全文
posted @ 2020-04-28 17:09 北漂-boy 阅读(327) 评论(0) 推荐(0)