Installing Docker
- Decompress the Docker installation package.
tar zxf docker-19.03.10.tgz
- Move the decompressed files to /usr/bin.
cp docker/* /usr/bin
- Edit the docker.service file.
- Open the docker.service file.
vim /usr/lib/systemd/system/docker.service
- Add the following content:
[Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com After=network-online.target firewalld.service Wants=network-online.target [Service] Type=notify ExecStart=/usr/bin/dockerd ExecReload=/bin/kill -s HUP $MAINPID LimitNOFILE=infinity LimitNPROC=infinity TimeoutStartSec=0 Delegate=yes KillMode=process Restart=on-failure StartLimitBurst=3 StartLimitInterval=60s [Install] WantedBy=multi-user.target
- Press Esc, type :wq!, and press Enter to save the settings and exit.
- Open the docker.service file.
- Start the Docker service process.
1systemctl start docker
- Check the installation.
docker version
As shown in the following figure, if Client and Server information is displayed, the installation is successful.

Parent topic: Docker 19.03.10 Installation Guide (CentOS & openEuler)