Nvidia-docker: ubuntu:18.10 support

Created on 19 Jan 2019  路  5Comments  路  Source: NVIDIA/nvidia-docker

I hava install ubuntu-18.10 on my computer, I want to use the ubuntu to sue tensorflow with cuda ,but the official tensorflow dos't support cuda after 9.0. Later, I found the project that can use the tensorflow with in docker ,but I can't install the nvidia-docker ,is sys that 'Unsupported distribution!'.please help me,
thanks .

Most helpful comment

You need to install bionic version of docker-ce:
sudo apt install docker-ce=5:18.09.1~3-0~ubuntu-bionic

All 5 comments

Hello!

CUDA isn't supported on ubuntu 18.10, 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

You need to install bionic version of docker-ce:
sudo apt install docker-ce=5:18.09.1~3-0~ubuntu-bionic

Thanks @kno! That specific version wasn't compatiable with nvidia-docker2I had to install:

sudo apt install docker-ce=5:18.09.2~3-0~ubuntu-bionic

(09.2 instead of 09.1) on Ubuntu 18.10.

E: Version '5:18.09.2~3-0~ubuntu-bionic' for 'docker-ce' was not found
same problem.. how to install nvidia-docker on 18.10?

@protectedvar you need to add the repo

sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ bionic \ stable"
then
sudo apt-get update
and try again

(note the "bionic" above where in the docker install page it gives you the command "$(lsb_release -cs)" I am not good at copy paste)

Was this page helpful?
0 / 5 - 0 ratings