Install CUDA and Nvidia-docker on Ubuntu 18.04 GTX2080Ti

Install GPU driver

https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linuxhttps://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux

Install Docker

https://medium.com/@linhlinhle997/how-to-install-docker-and-nvidia-docker-2-0-on-ubuntu-18-04-da3eac6ec494https://medium.com/@linhlinhle997/how-to-install-docker-and-nvidia-docker-2-0-on-ubuntu-18-04-da3eac6ec494Install CUDA (not required by Docker)

CUDA Toolkit 11.4 Update 2 Downloads | NVIDIA Developerhttps://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=18.04&target_type=deb_network

Command 

nvidia-docker run -v ~/docker:/workspace -it --name=screenshot --net=host pytorch/pytorch

你可能感兴趣的:(Linux,docker,ubuntu,深度学习)