1、创建Dockerfile文件:vim Dockerfile
2、Dockerfile的编写内容如下:
3、开始制作镜像
制作命令:
docker build -t 镜像名:版本号
4、查看已经做好的镜像