Verify that you can run docker commands without sudo, i.e.g. $ docker ps Step 2: Install nvidia docker toolkit: To run docker with nvidia support we an additional package that allow using gpu profiles ...
# docker run --gpus all nvidia/cuda:9.1-base nvidia-smi +-----+ | NVIDIA-SMI 390.138 Driver Version: 390.138 ...