拉取基础镜像 [root@kylin-master1-110 ~]# docker pull openjdk:8-jdk-alpine 编写Dockerfile文件 # 准备文件 [root@kylin-node2-113 jdk]# cat .profile # ~/.profile: exec