Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Docker has support for allowing containers to share the PID namespace with the host or other containers via the docker run --pid flag.
There are a number of use cases where this is desirable:
- Monitoring tools running in containers that need access to the host level PIDs.
- Debug containers that can attach to another container to run strace, gdb, etc.
- Testing Docker on YARN in a container, where the docker socket is bind mounted.
Enabling this feature should be considered privileged as it exposes host details inside the container.