安装Docker
Arm本来软件兼容不太好!使用Docker也是一个不错的选择!
下面亲测 Oracle Linux 7.9 可行!原一键安装Docker命令执行失败!
特别提醒:用Docker不是所有镜像都能运行,需要找那些支持 linux/arm64的。
cat >/etc/yum.repos.d/centos-extras.repo << 'EOF'
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=extras&infra=$infra
gpgcheck=0
EOF
sudo yum install -y yum-utils
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io
安装成功后 启动Docker!
systemctl start docker
1(!)[zface_1.png] (!)[zface_2.png] (!)[zface_3.png] (!)[zface_4.png] (!)[zface_5.png] (!)[zface_6.png] (!)[zface_7.png] (!)[zface_8.png] (!)[zface_9.png] (!)[zface_10.png] (!)[zface_11.png] (!)[zface_12.png] (!)[zface_13.png] (!)[zface_14.png] (!)[zface_15.png] (!)[zface_16.png] (!)[zface_17.png]
1(!)[zface_1.png] (!)[zface_2.png] (!)[zface_3.png] (!)[zface_4.png] (!)[zface_5.png] (!)[zface_6.png] (!)[zface_7.png] (!)[zface_8.png] (!)[zface_9.png] (!)[zface_10.png] (!)[zface_11.png] (!)[zface_12.png] (!)[zface_13.png] (!)[zface_14.png] (!)[zface_15.png] (!)[zface_16.png] (!)[zface_17.png]
1(!)[zface_1.png] (!)[zface_2.png] (!)[zface_3.png] (!)[zface_4.png] (!)[zface_5.png] (!)[zface_6.png] (!)[zface_7.png] (!)[zface_8.png] (!)[zface_9.png] (!)[zface_10.png] (!)[zface_11.png] (!)[zface_12.png] (!)[zface_13.png] (!)[zface_14.png] (!)[zface_15.png] (!)[zface_16.png] (!)[zface_17.png]