When I had GPU mem set to 64MB kodi in docker container hanged before loading any menus and kodi outside docker container hanged after loading menus, so I have changed GPU memory to 128MB.
After that, kodi outside docker works perfectly. In docker container kodi still hang but there is a little progress - I can see transparent menu, it looks like it is almost loaded. Changing mem to 256MB doesn't solve the problem.
When it comes to /dev - yes, I have mapped almost every /dev/vc* device to docker container (using docker run --device ... ). I have even tried map whole /dev using -v /dev:/dev. None of these solves the issue.
I think there is still something that needs to be mapped to docker container but I have no idea what. That's why I ask if anyone successfully run kodi in docker container (still seems doable!).
I think worth of noticing is that before starting kodi in docker container I run
Code:
ln -s /opt/vc/lib/* /usr/lib/
/opt/vc/lib is mapped from host.