Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

New Docker stable v18.09.4 #944

Closed
3 of 9 tasks
tiangolo opened this issue Mar 28, 2019 · 3 comments
Closed
3 of 9 tasks

New Docker stable v18.09.4 #944

tiangolo opened this issue Mar 28, 2019 · 3 comments

Comments

@tiangolo
Copy link

1. Issue or feature description

The latest Docker stable version is v18.09.4 (released 5 hours ago)

Nvidia Docker still requires version 18.09.3.

2. Steps to reproduce the issue

In a new Ubuntu 18.04.1 LTS, install Docker:

# Download Docker
curl -fsSL get.docker.com -o get-docker.sh
# Install Docker using the stable channel (instead of the default "edge")
CHANNEL=stable sh get-docker.sh
# Remove Docker install script
rm get-docker.sh

Then install nvidia-docker following the default instructions, the following error is shown:

$ sudo apt-get install -y nvidia-docker2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-docker2 : Depends: docker-ce (= 5:18.09.3~3-0~ubuntu-bionic) but 5:18.09.4~3-0~ubuntu-bionic is to be installed or
                           docker-ee (= 5:18.09.3~3-0~ubuntu-bionic) but it is not installable
E: Unable to correct problems, you have held broken packages.

3. Information to attach (optional if deemed irrelevant)

  • Some nvidia-container information: nvidia-container-cli -k -d /dev/tty info
  • Kernel version from uname -a: 4.15.0-45-generic Add support for cross-device volumes #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Any relevant kernel output lines from dmesg
  • Driver information from nvidia-smi -a: NVIDIA-SMI 418.40.04 Driver Version: 418.40.04 CUDA Version: 10.1
  • Docker version from docker version: 18.09.4
  • NVIDIA packages version from dpkg -l '*nvidia*' or rpm -qa '*nvidia*':
  • NVIDIA container library version from nvidia-container-cli -V
  • NVIDIA container library logs (see troubleshooting)
  • Docker command, image and tag used
@tiangolo
Copy link
Author

tiangolo commented Apr 1, 2019

This seems to be solved in the latest version 2.0.3+docker18.09.4-1. I just updated everything in my local machine and it seemed to work well.

I haven't tested on a clean remote GPU server yet.

@RenaudWasTaken
Copy link
Contributor

Ah yes sorry!

I published an update last Thursday and forgot to mention it here...

With the - - gpu option in the next Docker release, this problem will go away!

I'll publish some more information in the next few weeks!

@tiangolo
Copy link
Author

tiangolo commented Apr 1, 2019

Excellent. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants