166.8. Docker Example
166.8.1.Example Java - Spring boot with Docker 166.8.1.1.获取 CentOS 7 镜像 docker pull centos:7 # docker pull centos:7 7: Pulling from library/centos 343b09361036: Pull complete Digest: sha256:bba1de7c9d900a898e3cadbae040dfe8a633c06bc104a0df76ae24483e03c077 Status: Downloaded newer image for centos:7 基于 CentOS 7 运行一个容器 docker run -it --name mycentos docker.io/centos:7 /bin/bash # docker run -it --name mycentos docker.io/centos:7 /bin/bash 运行后直接进入了容器的shell控制台默认是bash 166.8.1.2.安装 openjdk # yum instal...