There are some script, which help you to install Docker and NVIDIA drivers on Ubuntu Server 18.04.4 LTS.
- Install a last version of the drivers
chmod +x ./scripts/install_nvidia_drivers_last_version.sh
./scripts/install_nvidia_drivers_last_version.sh
- Install a specific version of the drivers. In the current version, the script will install 440.33.01
chmod +x ./scripts/install_nvidia_drivers_last_version.sh
./scripts/install_nvidia_drivers_specific_version.sh
- Install Docker
chmod +x ./scripts/install_docker_with_gpu.sh
./scripts/install_docker_with_gpu.sh