Comments (5)
@LiangHuangBC I suspect the error is in privileged access so both containers can see each other. Could you post the contents of /etc/X11/Xorg.conf
on both containers and also echo $NVIDIA_VISIBLE_DEVICES
too? Else, you could test passing the devices HERE and disable privileged. Whether that works or not is big help to the repo because I have not tested in pure docker.
And btw, there is small issue in bootstrap.sh, when docker restart your container, bootstrap will stuck on re-install driver. We fixed it by commenting it out.
This container is only tested in Kubernetes, where when a pod restarts, the filesystem is reset. I can fix that when I have time.
Note this repo will be rebuilt when NVIDIA enables XWayland support in 470.xx drivers to use the Wayland workflow instead of Xorg.
from docker-nvidia-glx-desktop.
Fixed code to work in privileged mode. Please test and tell me. Not available without privileged.
bootstrap will stuck on re-install driver
Please feedback on the fix for this too.
However, ehfd/docker-nvidia-egl-desktop is guaranteed to work on multiple desktops over ehfd/docker-nvidia-glx-desktop (which uses quite hacky configurations to use Xorg inside containers) and is the recommended container to use. But ehfd/docker-nvidia-egl-desktop doesn't support Vulkan. If you need Vulkan use https://github.com/mviereck/x11docker, but you need to use docker on one single node with full root control and cannot be used on other container orchestration platforms. The ehfd/docker-nvidia-glx-desktop container is a limited functionality container designed for multi-node clusters with container orchestration or when root access is not available until Xwayland support for NVIDIA proprietary drivers are available.
from docker-nvidia-glx-desktop.
In progress of fixing this issue.
from docker-nvidia-glx-desktop.
Fixed in commit 1fbae34
Please consult the new instructions. Privileged mode is no longer supported in favor of unprivileged containers.
from docker-nvidia-glx-desktop.
Added in Documentation.
from docker-nvidia-glx-desktop.
Related Issues (20)
- Please Post Minor Feature Requests or Regression Reports Here HOT 7
- Desktop does not start if there is another GUI running in the host HOT 14
- [Fix] No screens found / Failed to acquire modesetting permission HOT 3
- XDG_RUNTIME_DIR not set, + vulkan issues HOT 11
- X11 not starting HOT 15
- Quick clarifications HOT 1
- Docker Compose Example HOT 7
- Firefox support HOT 4
- Wine application or game issues HOT 7
- VP8enc: selkies-gstreamer fails with Missing gstreamer plugins:', ['vpx'] HOT 5
- support plain vnc alongside selkies HOT 2
- Running with non-root user HOT 10
- nvh264enc no longer works after upgrading to 22.04 HOT 13
- Enable copy paste to and from host HOT 7
- Passthrough of host usb devices to container? HOT 4
- Coexist with Host X11 server HOT 6
- List of NVIDIA drivers with issues HOT 25
- Link to itopiaspaces.com in README is dead HOT 2
- Manually install the compat version of the CUDA toolkit in the container HOT 17
- Some image manifests appear broken HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nvidia-glx-desktop.