[zh-cn]sync user-namespaces.md

Signed-off-by: xin.li <xin.li@daocloud.io>
pull/49462/head
xin.li 2025-01-16 19:12:14 +08:00
parent 2b6daddbe8
commit 322288bd48
1 changed files with 3 additions and 3 deletions

View File

@ -127,12 +127,12 @@ to `false`. For example:
```
<!--
1. Attach to the container and run `readlink /proc/self/ns/user`:
1. Add a debugging container and attach to it and run `readlink /proc/self/ns/user`:
-->
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
```
<!--