-
Install docker using instructions here. This installation instructions were tested on Ubuntu 18.04 with Docker version 19.03.3, build a872fc2f86.
-
To run docker as a non-root user, follow the post installation instruction here.
-
Install nvidia toolkit:Reference
$ sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit