43

构建Docker镜像实战案例-人生苦短 我学python

 5 years ago
source link: http://blog.51cto.com/13630803/2160040
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.
Dockerfile介绍Dockerfile是由一组指令组成的文件,每条指令对应linux中一条命令,Docker程序将读取Dockerfile中的指令生成指定镜像。Dockerfile大致结构:基础镜像信息、维护者信息、镜像操作指令、容器启动时执行指令。每行支持一条指令,每条指令可以携带多个参数,支持以#开头的注释。Dockerfile操作指令:FROM镜像:指定新的镜像所基于的镜像MAINTA

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK