45

【自定义】通过Dockerfile创建httpd镜像-小米~bb

 5 years ago
source link: http://blog.51cto.com/10316297/2160524
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
创建镜像三种方法Docker镜像创建方法有三种,分别为基于已有镜像创建、基于本地模板创建以及基于Dockerfile创建。通过Dockerfile创建镜像这里主要记录下基于Dockerfile创建方法,Dockerfile是由一组指令组成的文件,其中每条指令对应Linux中的一条命令,Docker程序将读取Dockerfile中的指令生成指定镜像。Dockerfile结构大致分为四个部分:基础镜像

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK