ARM架构Ubuntu系统安装指定版本docker


sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common

添加国内镜像GPG证书

curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -

添加阿里云仓库地址

sudo add-apt-repository \
    "deb [arch=arm64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu \
    $(lsb_release -cs) \
    stable"

更新源

sudo apt-get update

查找版本,找到版本号

apt-cache madison docker-ce

安装

sudo apt-get -y install docker-ce=[VERSION]


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM