Docker 进阶之 Dockerfile

1、制做自定义镜像 1 基于centos镜像使用commit建立新的镜像文件(永久修改web,可用commit) 1)建立新建镜像html docker cp 在host和container之间拷贝文件 [root@docker]#docker cp index.html 8d07ecd7e345 :/usr/share/nginx/html [root@docker1 docker_images
相关文章
相关标签/搜索