From fa77b772be5e60b49ae8ce5f4e6d0f56eb1a4cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 10 Nov 2025 10:53:12 +0800 Subject: [PATCH] =?UTF-8?q?build(devcontainer):=20=E6=B7=BB=E5=8A=A0=20hos?= =?UTF-8?q?t.docker.internal=20=E4=BD=9C=E4=B8=BA=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E7=BD=91=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6407126..4124c1a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,7 +26,8 @@ // ".devcontainer/.env", // ----- "--cap-add=NET_ADMIN", - "--cap-add=NET_RAW" + "--cap-add=NET_RAW", + "--add-host=host.docker.internal:host-gateway" ], "customizations": { "vscode": {