https://blog.csdn.net/wyc_cs/article/details/54600867?utm_source=blogxgwz7
实例:
1:编辑dockerfile文件
2:
docker build -f apache/Dockerfile -t apache .
build 用法
http://www.runoob.com/docker/docker-build-command.html
3:查看
docker images
4:docker run