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