From 25c2af1b5258932ad21431b5d4b07e644ee0f946 Mon Sep 17 00:00:00 2001 From: QXYang686 Date: Sat, 14 Feb 2026 22:21:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=84=9A=E6=9C=AC=E5=87=86?= =?UTF-8?q?=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system-setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/system-setup.sh b/system-setup.sh index 0f13aef..fba4cf3 100644 --- a/system-setup.sh +++ b/system-setup.sh @@ -1,13 +1,11 @@ #!/bin/bash -export IP=172.22.178.77 - sudo apt update sudo apt install -y npm git curl -fsSL https://raw.githubusercontent.com/docker/docker-install/master/install.sh | sh sudo usermod -aG docker $USER -docker buildx create --use --name multiarch-builder --driver-opt "env.HOST_ALIASES=registry.yqxpro.com:${IP}" -echo "$IP registry.yqxpro.com" | sudo tee -a /etc/hosts +docker buildx create --use --bootstrap --name multiarch-builder --driver-opt network=host +echo "127.0.0.1 registry.yqxpro.com" | sudo tee -a /etc/hosts tar xvzf certs.tgz docker run -d \