From 322288bd4831d8d212dd872c74bacc52bf1401db Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Thu, 16 Jan 2025 19:12:14 +0800 Subject: [PATCH] [zh-cn]sync user-namespaces.md Signed-off-by: xin.li --- .../docs/tasks/configure-pod-container/user-namespaces.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md b/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md index 1a8ec44f1e..32251ef437 100644 --- a/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md +++ b/content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md @@ -127,12 +127,12 @@ to `false`. For example: ``` -2. 挂接到容器上并执行 `readlink /proc/self/ns/user`: +2. 运行一个调试容器,挂接此 Pod 上并执行 `readlink /proc/self/ns/user`: ```shell - kubectl attach -it userns bash + kubectl debug userns -it --image=busybox ```