nsenter
Run a new command in a running process' namespace. Particularly useful for Docker images or chroot jails. More information: https://manned.org/nsenter.
- Run a specific command using the same namespaces as an existing process:
nsenter
- Run a specific command in an existing process's mount|UTS|IPC|network|PID|user|cgroup|time namespace:
nsenter --
- Run a specific command in an existing process's UTS, time, and IPC namespaces:
nsenter --
- Run a specific command in an existing process's namespace by referencing procfs:
nsenter /proc//pid/net --
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
