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

Nvidia-docker fails to install on Amazon Linux with docker-18.03 #763

Closed
3 of 4 tasks
mseank opened this issue Jun 12, 2018 · 2 comments
Closed
3 of 4 tasks

Nvidia-docker fails to install on Amazon Linux with docker-18.03 #763

mseank opened this issue Jun 12, 2018 · 2 comments

Comments

@mseank
Copy link

mseank commented Jun 12, 2018

1. Issue or feature description

Running on Amazon Linux 1, and with the most up-to-date docker (18.03 CE), nvidia-docker does not install.

Loaded plugins: dkms-build-requires, priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.5 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package nvidia-docker2.noarch 0:2.0.3-1.docker17.12.1.ce.amzn1 will be installed
--> Processing Dependency: nvidia-container-runtime = 2.0.0-1.docker17.12.1.amzn1 for package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch
--> Processing Dependency: docker = 17.12.1ce for package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch
--> Running transaction check
---> Package nvidia-container-runtime.x86_64 0:2.0.0-1.docker17.12.1.amzn1 will be installed
--> Processing Dependency: nvidia-container-runtime-hook < 2.0.0 for package: nvidia-container-runtime-2.0.0-1.docker17.12.1.amzn1.x86_64
---> Package nvidia-docker2.noarch 0:2.0.3-1.docker17.12.1.ce.amzn1 will be installed
--> Processing Dependency: docker = 17.12.1ce for package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch
--> Running transaction check
---> Package nvidia-container-runtime-hook.x86_64 0:1.3.0-1.amzn1 will be installed
--> Processing Dependency: libnvidia-container-tools < 2.0.0 for package: nvidia-container-runtime-hook-1.3.0-1.amzn1.x86_64
--> Processing Dependency: libnvidia-container-tools >= 0.1.0 for package: nvidia-container-runtime-hook-1.3.0-1.amzn1.x86_64
---> Package nvidia-docker2.noarch 0:2.0.3-1.docker17.12.1.ce.amzn1 will be installed
--> Processing Dependency: docker = 17.12.1ce for package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch
--> Running transaction check
---> Package libnvidia-container-tools.x86_64 0:1.0.0-0.1.rc.2 will be installed
--> Processing Dependency: libnvidia-container1(x86-64) >= 1.0.0-0.1.rc.2 for package: libnvidia-container-tools-1.0.0-0.1.rc.2.x86_64
--> Processing Dependency: libnvidia-container.so.1(NVC_1.0)(64bit) for package: libnvidia-container-tools-1.0.0-0.1.rc.2.x86_64
--> Processing Dependency: libnvidia-container.so.1()(64bit) for package: libnvidia-container-tools-1.0.0-0.1.rc.2.x86_64
---> Package nvidia-docker2.noarch 0:2.0.3-1.docker17.12.1.ce.amzn1 will be installed
--> Processing Dependency: docker = 17.12.1ce for package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch
--> Running transaction check
---> Package libnvidia-container1.x86_64 0:1.0.0-0.1.rc.2 will be installed
---> Package nvidia-docker2.noarch 0:2.0.3-1.docker17.12.1.ce.amzn1 will be installed
--> Processing Dependency: docker = 17.12.1ce for package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch
--> Finished Dependency Resolution
Error: Package: nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1.noarch (nvidia-docker)
Requires: docker = 17.12.1ce
Installed: docker-18.03.1ce-2.141.amzn1.x86_64 (@amzn-updates)
docker = 18.03.1ce-2.141.amzn1
Available: docker-17.12.1ce-1.135.amzn1.x86_64 (amzn-main)
docker = 17.12.1ce-1.135.amzn1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

2. Steps to reproduce the issue

Follow the installation steps. Fails upon step:
sudo yum install -y nvidia-docker2

3. Information to attach (optional if deemed irrelevant)

  • Kernel version from uname -a
    Linux ip-10-96-133-4 4.14.42-52.37.amzn1.x86_64 Add README image #1 SMP Tue May 22 00:41:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Any relevant kernel output lines from dmesg
  • Driver information from nvidia-smi -a
    nvsmi.txt
  • Docker version from docker version
    Docker version 18.03.1-ce, build 3dfb8343b139d6342acfd9975d7f1068b5b1c3d3

Let me know if more is needed, thank you.

@flx42
Copy link
Member

flx42 commented Jun 12, 2018

Should be fixed, I added the latest package. Please test.

@mseank
Copy link
Author

mseank commented Jun 12, 2018

Perfect. Works like a charm. Thanks!

@mseank mseank closed this as completed Jun 12, 2018
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