From 78839d62c06790ceedeaa825f207f4512e1b1c1a Mon Sep 17 00:00:00 2001 From: 3344 Date: Tue, 20 Jan 2026 22:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20121?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 121 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 121 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