We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc241ff commit eeaae6fCopy full SHA for eeaae6f
content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md
@@ -127,12 +127,12 @@ to `false`. For example:
127
```
128
129
<!--
130
-1. Add a debugging container and attach to it and run `readlink /proc/self/ns/user`:
+1. Exec into the pod and run `readlink /proc/self/ns/user`:
131
-->
132
-2. 运行一个调试容器,挂接此 Pod 上并执行 `readlink /proc/self/ns/user`:
+2. 进入一个 Pod 并运行 `readlink /proc/self/ns/user`:
133
134
```shell
135
- kubectl debug userns -it --image=busybox
+ kubectl exec -ti userns -- bash
136
137
138
0 commit comments