添加 121
This commit is contained in:
13
121
Normal file
13
121
Normal file
@@ -0,0 +1,13 @@
|
||||
# 1. 安装必要工具
|
||||
apt-get update
|
||||
apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
||||
|
||||
# 2. 添加 Docker 官方 GPG 密钥
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
||||
|
||||
# 3. 设置适配 aarch64 的稳定版仓库
|
||||
add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||
|
||||
# 4. 再次更新并安装
|
||||
apt-get update
|
||||
apt-get install -y docker-ce docker-ce-cli containerd.io
|
||||
Reference in New Issue
Block a user