Now there is an application in the ubuntu container. At this time, it is necessary to check the GPU resources of the host outside the container. How should it be implemented in the docker container?
In other words, I hope to monitor the gpu resources of the host outside the container inside the container. Finally, refer to it, modify the base image to nvidia/cuda
, and finally modify the deployment to solve this.