环境准备
1  | [root@iZuf6fpaicz5jt7kep555qZ soft]# ll  | 
解压
1  | [root@iZuf6fpaicz5jt7kep555qZ docker]# ll  | 
编写Dockerfile
1  | FROM centos:7.6.1810 # 指定操作镜像  | 
构建Docker镜像
1  | [root@iZuf6fpaicz5jt7kep555qZ docker]# ll  | 
查看镜像
1  | [root@iZuf6fpaicz5jt7kep555qZ docker]# docker image ls  | 
通过镜像启动容器
1  | [root@iZuf6fpaicz5jt7kep555qZ docker]# docker run -d -p 8089:8080 --name tomjdk2.0 repostory/tomcat_jdk:2.0  | 


