下载地址

各个版本Docker地址:https://download.docker.com/linux/static/stable/x86_64/

解压拷贝

linux通过tar包安装docker_linux

添加服务

linux通过tar包安装docker_linux_02

[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

启动

systemctl daemon-reload
systemctl start docker
ps aux | grep docker

linux通过tar包安装docker_其他_03