Install docker online, docker pull jdk and mysql image

Install docker online, docker pull jdk and mysql image

Install docker, jdk and mysql offline in [Ultimate offline installation of docker. . . ]222(https://blog.csdn.net/qq_31142237/article/details/93595560) As I said, now it is much easier to record online installation of docker and pull mirrors than offline.

1. Environmental preparation

Centos7, it's over (provided it is connected to the network)

Second, install docker online

My previous Weibo also said that Centos7 installs docker .

Three, docker pulls jdk and mysql images

No matter what image is pulled using docker, the method is the same. There are mirror libraries like Ali and NetEase. No matter which one is enough, it can be specified in the configuration.
Pulling steps:
1. Query the mirror image of the mirror library
Query the existing mirror command: docker search jdk (or mysql are the same)
Insert picture description here

  注:name表示名称 Description:介绍  Stars:关注度  Official:是不是官方的   Automatexd:是不是私有创建的

Insert picture description here
Docker pull image name: image version number (usually use latest if you don't know the version number, which means to pull the latest image file docker pull mysql:latest) The
same is true for jdk.

Guess you like

Origin blog.csdn.net/qq_31142237/article/details/100776698