Hello!
CUDA isn't supported on ubuntu 18.10 (it's not an LTS version), therefore the support you'll get is only best effort.
You can always install the nvidia-docker version for ubuntu 18.04:
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu18.04/nvidia-docker.list | \
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
# Install nvidia-docker2 and reload the Docker daemon configuration
sudo apt-get install -y nvidia-docker2
Thanks, it worked out well.
I would also mention that while installing docker one should specify its exact version and use ubuntu bionic repo:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo aptitude install docker-ce=5:18.09.1~3-0~ubuntu-bionic
@RenaudWasTaken Nvidia offers packages for Ubuntu 18.10 on its website, so I guess Cuda is officially supported on that platform, isn't it?
It seems strange for me that Cuda is available for download (and even has a repo) for Ubuntu 18.10 but not nvidia-docker...