操作系统:麒麟V10-server
1、下载Docker
aarch版本docker下载地址:https://download.docker.com/linux/static/stable/aarch64/, 根据需要下载对应的版本。2、安装Docker
1.解压安装包tar -zxvf docker-19.03.5.tgz -C /opt
2.复制二进制文件到指定目录
cp /opt/docker/* /usr/sbin/
3.查看docker版本
docker -v4.创建docker服务启动文件
vi /usr/lib/systemd/system/docker.service [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 TimeoutSec=0 RestartSec=2 Restart=always StartLimitBurst=3 StartLimitInterval=60s LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity Delegate=yes KillMode=process [Install] WantedBy=multi-user.target
3、启动Docker
1.加载配置文件systemctl daemon-reload
2.启动docker
systemctl enable docker systemctl start docker
3.查看docker信息
docker info