From 57579e2b1bb80c53a379c8c3261610c8a54492c8 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Thu, 29 Oct 2026 03:09:49 +0800 Subject: Add commands to inspect and clean up stale NAT namespaces, veth links, bridges, and firewall rules. Signed-off-by: Richard Qin --- debian-container/README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian-container/README') diff --git a/debian-container/README b/debian-container/README index 0328def..eceb2b3 100644 --- a/debian-container/README +++ b/debian-container/README @@ -55,6 +55,11 @@ sudo ./debian-container.sh enter test-1 --mount /home/richard/data:/data:ro sudo ./debian-container.sh exec test-1 -- uname -a sudo ./debian-container.sh exec test-1 --network host -- apt-get update sudo ./debian-container.sh exec test-1 --network nat -- apt-get update + +查看和清理 NAT 网络资源: + +sudo ./debian-container.sh network-status +sudo ./debian-container.sh network-clean sudo ./debian-container.sh exec test-1 --mount /home/richard/project:/workspace:rw -- make -C /workspace 列出和查看容器: -- cgit v1.2.3