添加 121

This commit is contained in:
2026-01-20 22:10:58 +08:00
parent 1aa2db6d7c
commit 78839d62c0

13
121 Normal file
View 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