欧拉系统-安装Docker
[toc]零、资料
一、步骤
wget https://download.docker.com/linux/static/stable/x86_64/docker-18.09.9.tgz
tar zxf docker-18.09.9.tgz
mv docker/* /usr/bin
cat >/usr/lib/systemd/system/docker.service <<EOF
[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
EOF
systemctl start docker
systemctl enable docker
docker version
标签:tgz,18.09,usr,Docker,安装,docker,欧拉
From: https://www.cnblogs.com/cywdder/p/18153026