Closed flyingnobita closed 1 year ago
Your issue is likely docker for desktop limiting the container access. We do not recommend/support the docker for desktop methods. Install docker correctly using the helper script at https://get.docker.com
Thanks for the quick reply.
So you're saying I should install Docker Engine rather than Docker Desktop (makes sense as my prev Docker install was probably Docker Engine as Docker Desktop for linux wasn't available back then).
I see there're 3 methods listed Docker's docs. Are you aware of any differeces in terms of container functionalities between the 3 methods?
"In testing and development environments, some users choose to use automated convenience scripts to install Docker."
The above statement from the documentation kinda worries me.
https://get.docker.com works great on ubuntu
Thank you for all the help guys, Docker Engine works like a charm!
Expected Behavior
On a host machine with Ubuntu Budgie 20.04 on Intel i5-4200U with Intel HD Graphics 4400, the container was successfully loading devices
/dev/dri:/dev/dri
for HW acceleration.Upgraded host to Ubuntu 22.04 and expected the same
docker compose
config to work.Current Behavior
After the upgrade, starting the container generate the error:
Steps to Reproduce
docker-compose.yml
with:Environment
OS: Ubuntu 22.04.1 CPU architecture: x86_64 - i5-4200U w/ Intel HD Graphics 4400 How docker service was installed:
With Docker Desktop for Ubuntu DEB as according to official Docker docs.
Command used to create docker container (run/create/compose/screenshot)
Docker logs
None as container was started.
Extra Note: jellyfin runs fine when none of the 3 /dev/dri lines are included in the docker compose file (albeit w/o HW)
Also tried each of the following but got the same error:
ubuntu
that hasrender
andvideo
group added (by way ofusermod
in host andgroup_add
in docker compose file.jellyfin/jellyfin:latest
with the documented user permission setup