其他分享
首页 > 其他分享> > 麒麟系统装docker

麒麟系统装docker

作者:互联网

下载安装包
wget https://download.docker.com/linux/static/stable/aarch64/docker-20.10.7.tgz
解压
tar -zxvf docker-20.10.7.tgz
移动解压出来的二进制文件到 /usr/bin 目录中
mv docker/* /usr/bin/

system 管理

[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

 重新加载和重启docker

systemctl daemon-reload
systemctl restart docker

 

标签:bin,target,tgz,麒麟,系统,usr,docker,20.10
来源: https://www.cnblogs.com/libruce/p/16598311.html