-
Notifications
You must be signed in to change notification settings - Fork 2k
Debian10: No package nvidia-docker2 available. #677
Comments
The full instructions are:
You can't use docker 1.8 by the way. |
Thanks for the quick reply: GNU/Linux x86_64 with kernel version > 3.10 |
I'm trying to use the same commands for Debian/Buster:
|
We don't have packages for debian buster right now. Use |
I could help to upgrade the packages for buster... |
We have everything we need, don't worry, we just don't have much time to do it right since there is the GPU Technology Conference next week. |
this issue is still affecting debian testing and sid, because the VERSION_ID entry isn't anymore available in more recent versions of one possible workaround could be seen in utilizing i also wouldn't see it as a tragedy, if people have to manually choose between two or three static variants on your instruction page (https://nvidia.github.io/nvidia-docker/). but just getting this 404 error message, before you finally find this ticket and the "debian9" key to paradise, is indeed a little bit frustrating... |
I think it was also the case with
You're right, we need to be more clear in the documentation. A 404 means that your distro isn't supported. But we need to better document which other repo you might try. |
yes -- this would be IMHO a very useful improvement. it's also quite handy, if you generate static index.html file listings at least in top directories for better human debugging and control on GitLab pages and similar services, which do not allow directory browsing otherwise. a simple btw.: because of #660 you still have to compile libnvidia-container yourself right now, to get it going on debian testing, just as you mentioned already... |
Hello, any news about working packages for Buster? |
@Ricordel sorry, didn't have time to test on buster recently. Just use |
this quick hack before proper packaging worked from me I just added debian buster only for the 18.09 docker version: diff --git a/Makefile b/Makefile
index a40edbf..a68210d 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ DIST_DIR := $(CURDIR)/dist
.NOTPARALLEL:
.PHONY: all
-all: ubuntu18.04 ubuntu16.04 ubuntu14.04 debian9 debian8 centos7 amzn2 amzn1
+all: ubuntu18.04 ubuntu16.04 ubuntu14.04 debian10 debian9 debian8 centos7 amzn2 amzn1
ubuntu18.04: $(addsuffix -ubuntu18.04, 18.09.0 18.06.1 18.06.0 18.03.1 17.12.1)
@@ -19,6 +19,8 @@ ubuntu16.04: $(addsuffix -ubuntu16.04, 18.09.0 18.06.1 18.06.0 18.03.1 18.03.0 1
ubuntu14.04: $(addsuffix -ubuntu14.04, 18.06.1 18.06.0 18.03.1 18.03.0 17.12.1 17.09.1 17.06.2 17.03.2)
+debian10: $(addsuffix -debian10, 18.09.0)
+
debian9: $(addsuffix -debian9, 18.09.0 18.06.1 18.06.0 18.03.1 18.03.0 17.12.1 17.12.0 17.09.1 17.09.0 17.06.2 17.03.2)
debian8: $(addsuffix -debian8, 18.06.1 18.06.0 18.03.1 18.03.0 17.12.1 17.09.1 17.06.2)
@@ -164,6 +166,24 @@ amzn1: $(addsuffix -amzn1, 18.06.1.ce 18.03.1.ce 17.12.1.ce 17.09.1.ce 17.06.2.c
-t "nvidia/nvidia-docker2/ubuntu:14.04-docker18.06.0" -f Dockerfile.ubuntu .
$(DOCKER) run --rm -v $(DIST_DIR)/ubuntu14.04:/dist:Z "nvidia/nvidia-docker2/ubuntu:14.04-docker18.06.0"
+%-debian10:
+ $(DOCKER) build --build-arg VERSION_ID="buster" \
+ --build-arg RUNTIME_VERSION="$(RUNTIME_VERSION)+docker$*-1" \
+ --build-arg DOCKER_VERSION="docker-ce (= $*~ce-0~debian)" \
+ --build-arg PKG_VERS="$(VERSION)+docker$*" \
+ --build-arg PKG_REV="$(PKG_REV)" \
+ -t "nvidia/nvidia-docker2/debian:10-docker$*" -f Dockerfile.debian .
+ $(DOCKER) run --rm -v $(DIST_DIR)/debian10:/dist:Z "nvidia/nvidia-docker2/debian:10-docker$*"
+
+18.09.0-debian10:
+ $(DOCKER) build --build-arg VERSION_ID="buster" \
+ --build-arg RUNTIME_VERSION="$(RUNTIME_VERSION)+docker18.09.0-1" \
+ --build-arg DOCKER_VERSION="docker-ce (= 5:18.09.0~3-0~debian-buster)" \
+ --build-arg PKG_VERS="$(VERSION)+docker18.09.0" \
+ --build-arg PKG_REV="$(PKG_REV)" \
+ -t "nvidia/nvidia-docker2/debian:10-docker18.09.0" -f Dockerfile.debian .
+ $(DOCKER) run --rm -v $(DIST_DIR)/debian10:/dist:Z "nvidia/nvidia-docker2/debian:10-docker18.09.0"
+
%-debian9:
$(DOCKER) build --build-arg VERSION_ID="9" \
--build-arg RUNTIME_VERSION="$(RUNTIME_VERSION)+docker$*-1" \ them |
small guide (https://blog.bartab.fr/install-nvidia-docker-on-debian-buster/) on how to get it running on Buster, mainly for issue #876 and #854 you may face on that distribution, hope it helps |
this doesn't work anymore for debian "testing" resp. debian10/'buster' setups. and because the "nvidia-docker" binary packages in your repository strictly depend on jessie vesion-suffix of docker-ce (which will work on this kind of machines), you have to modify and compile nvidia-docker yourself, if you want to use it on debian testing. the necessary changes are rather trivial (see: euri10s patch), nevertheless i would really like to see a more user friendly support for debian testing out of the box. i don't think, debian "testing" should be understood as an exotic solution, which shouldn't get offical support as long as the final release becomes published. if you do e.g. ML development or similar work -- i.e. those kind of stuff, where nvidia-docker really makes sense! --, you'll very likely prefer access to more recent software instead of always insisting on horrible outdated final releases... |
The patch is almost exactly this one: NVIDIA#677 (comment)
Hope Debian 10 docker-nvidia2 will be availaible next month with the official release of stable Debian 10 Buster :) |
then we'll be on sid and will have to do it again .-) |
Hey, debian buster is out today. Can this finally be fixed? |
Yeah, this is pretty annoying that it's still not officially supported on stable debian. |
Debian10 packages are now available. Sorry for the delay! |
hello I'm having trouble with a newer version of this. if there are any Linux ninjas kind enough to give me a hand ? |
I'm having a similar problem and could use a hand |
I'm having a similar problem. would be very grateful to get my system back online |
@dapperdanman87 could you provide more input as to what you're seeing and what the expected behavior is? |
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo
sudo yum install -y nvidia-docker2
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package nvidia-docker2 available.
Error: Nothing to do
Client:
Version: 1.8.2
API version: 1.20
Package Version: docker-1.8.2-7.el7.centos.x86_64
Go version: go1.4.2
Git commit: bb472f0/1.8.2
Built:
OS/Arch: linux/amd64
Server:
Version: 1.8.2
API version: 1.20
Package Version:
Go version: go1.4.2
Git commit: bb472f0/1.8.2
Built:
OS/Arch: linux/amd64
The text was updated successfully, but these errors were encountered: