Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvgpu in Docker cannot see processes in host OS from container 🤦 #2

Open
bzamecnik opened this issue Oct 22, 2018 · 2 comments
Open

Comments

@bzamecnik
Copy link
Collaborator

bzamecnik commented Oct 22, 2018

psutils cannot see process details (user, creation time, command) on the host OS - by definition os container this is separated. This is a design fault of the dockerized solution and I'm not

 nvidia-docker run --rm bzamecnik/nvgpu nvl
    status    type                 util.      temp.    MHz  users    since    pids    cmd
--  --------  -------------------  -------  -------  -----  -------  -------  ------  -----
 0  [!]       GeForce GTX 1070       0 %         45   1582  ?                 27363   
 1  [ ]       GeForce GTX 1080 Ti    0 %         48   1480                            
 2  [ ]       GeForce GTX 1080 Ti    0 %         54   1480                            
 3  [!]       GeForce GTX 1070       0 %         43   1582  ?                 38128   
 4  [!]       GeForce GTX 1070       0 %         44   1506  ?                 11107   
 5  [!]       GeForce GTX 1080 Ti    0 %         52   1480  ?                 13318   
 6  [!]       GeForce GTX 1080 Ti    0 %         54   1480  ?                 13318 
@bzamecnik bzamecnik changed the title nvgpu-agent cannot see processes in host OS from container 🤦 nvgpu in Docker cannot see processes in host OS from container 🤦 Oct 22, 2018
@bzamecnik
Copy link
Collaborator Author

Better would be to run the agent as a service eg. via systemd.

@bzamecnik
Copy link
Collaborator Author

See a66dda5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant