Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starting visual studio container: error gathering device information while adding custom device "/dev/dri": not a device node #34

Closed
miqui opened this issue Jun 28, 2015 · 4 comments

Comments

@miqui
Copy link

miqui commented Jun 28, 2015

docker run -d -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/dri --name visualstudio jess/visualstudio
Unable to find image 'jess/visualstudio:latest' locally
latest: Pulling from jess/visualstudio
5385af2045ef: Pull complete
8e7f55543130: Pull complete
b7868c184c2f: Pull complete
3c63844759ef: Pull complete
00cc8e506cb0: Pull complete
67d87eb55e1b: Pull complete
cc4982629f83: Pull complete
8d6b3651744e: Pull complete
c818e0a83cf4: Pull complete
0e57ef9cf1ca: Pull complete
f9914c2bee3b: Pull complete
2c98714cd135: Pull complete
4723c1eafa97: Pull complete
4186e6387c9f: Pull complete
552ca6a9a1b4: Pull complete
6fac5857b266: Pull complete
19ab81b3cf7a: Already exists
Digest: sha256:459df677cbfc29c3ef379050dba34747213c5ccaa81827977bfebbac9abd53bd
Status: Downloaded newer image for jess/visualstudio:latest
a099691d3f4969eccc94e2c9bbc5392d4b08c1f5d5c04d3ca3f4f01020fe18c6
FATA[0125] Error response from daemon: Cannot start container a099691d3f4969eccc94e2c9bbc5392d4b08c1f5d5c04d3ca3f4f01020fe18c6: error gathering device information while adding custom device "/dev/dri": not a device node

@koep
Copy link
Collaborator

koep commented Jun 28, 2015

What version of docker are you using? I believe this was fixed in 1.7.

@miqui
Copy link
Author

miqui commented Jun 30, 2015

am using 1.6.2

@jessfraz
Copy link
Owner

jessfraz commented Jul 9, 2015

you need 1.7 for --device to work recurisively, it was a patch i made

@jessfraz jessfraz closed this as completed Jul 9, 2015
@miqui
Copy link
Author

miqui commented Jul 15, 2015

indeed with 1.7 it worked...

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

No branches or pull requests

3 participants