diff --git a/121 b/121 new file mode 100644 index 0000000..70beeff --- /dev/null +++ b/121 @@ -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 \ No newline at end of file