Docker use to build multi-user server GPU

background

Let multiple people use GPU resources without interfering with each other, while the system more flexible resource allocation.

server configuration

cpu

48  Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz

2 CPU core 24

(instruction:

cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

cat /proc/cpuinfo | grep physical | uniq -c)

Install the graphics driver

cd to .run file directory
sudo APT-GET purge NVIDIA *
sudo vim /etc/modprobe.d/blacklist-nouveau.conf

Utsushijo:

blacklist nouveau

  options nouveau modeset=0
sudo update-initramfs -u
sudo apt-get install build-essential freeglut3-dev libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
sudo chmod +x NVIDIA-Linux-x86_64-410.104.run
sudo ./NVIDIA-Linux-x86_64-410.104.run --no-opengl-files -no-x-check

Installation docker

See https://www.cnblogs.com/journeyonmyway/p/10318624.html

docker misplaced unloading docker:

sudo apt-get remove docker

sudo apt-get remove docker-ce

sudo apt-get remove -y docker-*

Verify docker --version

 

Guess you like

Origin www.cnblogs.com/walker-lin/p/11200074.html