Skip to content

Unable to see processes with nvidia-smi inside container #14

@tomdaley92

Description

@tomdaley92

Super minor issue as I can see the Plex transcode PIDs if I run nvidia-smi on the host (outside the container)

NVIDIA/nvidia-docker#476

As a workaround you pass the --pid=host flag to a docker run command.

For example:

docker run --rm --gpus all --pid=host nvidia/cuda:11.0-base nvidia-smi

Just note that every container will see the same process list, there is no isolation of being able to only see the processes which pertain to the container you are in.

Is there an equivalent --pid=host flag for the Docker Compose File Specification, and is it compatible with Docker Swarm? If so this would be trivial to correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions