1.首先检查服务器glibc版本
rpm -q glibc
如果 glibc-2.35版本以上,则参考下面安装步骤,包下载地址
链接:https://pan.baidu.com/s/1X64XrzRva0O7ZSekLZdIcA?pwd=8k4c
提取码:8k4c
glibc-2.35以上Docker离线安装 如下
mkdir /opt/docker
cd /opt/docker
# 上传docker-engine-18.09.0-311.oe2209.aarch64.rpm,tar-1.34-1.oe2209.aarch64.rpm,libcgroup-0.42.2-2.oe2209.aarch64.rpm
rpm -ivh libcgroup-0.42.2-2.oe2209.aarch64.rpm
rpm -ivh tar-1.34-1.oe2209.aarch64.rpm
rpm -ivh docker-engine-18.09.0-311.oe2209.aarch64.rpm
# 启动docker
systemctl start docker
# 开启docker开机自动启动
systemctl enable docker
# 查看docker版本信息
docker info
glibc-2.35以下Docker离线安装 如下:
mkdir /opt/docker
cd /opt/docker
# 上传docker-engine-18.09.0-101.p09.ky10.aarch64.rpm在124服务器/opt/docker/ 目录下
rpm -ivh docker-engine-18.09.0-101.p09.ky10.aarch64.rpm
# 启动docker
systemctl start docker
# 开启docker开机自动启动
systemctl enable docker
# 查看docker版本信息
docker info