Docker学习笔记 — Dockerfile
2017-12-27 03:28:58
阅读:
1070
可以使用Dockerfile自定义镜像。Dockerfile分为四个部分:基础镜像信息,维护者信息,镜像操作指令和容器启动时执行指令。# This dockerfile uses the ubuntu image# VERSION 2 - EDITION 1# Author: docker_user# Command format: Instruction [arguments / command] ..# Base image to use, this must be set as the first lineFROM ubuntu# Maintainer: docker_user <