yes, I do not mount /usr or any other dir in any special dir, all is default.
Tried with both pid 1000 and 0, no difference
bash -x kodi
+ APP=Kodi
+ bin_name=kodi
+ SAVED_ARGS=
+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ LIBDIR=/usr/lib
+ APP_BINARY=/usr/lib/kodi/kodi-x11
+ CRASHLOG_DIR=/config
+ KODI_DATA=/config/.kodi
+ export __GL_YIELD=USLEEP
+ __GL_YIELD=USLEEP
+ export MALLOC_MMAP_THRESHOLD_=131072
+ MALLOC_MMAP_THRESHOLD_=131072
+ '[' 0 -gt 0 ']'
+ KODI_BINARY=/usr/lib/kodi/kodi-x11
+ '[' '!' -x /usr/lib/kodi/kodi-x11 ']'
+ echo 'Error: /usr/lib/kodi/kodi-x11 not found'
Error: /usr/lib/kodi/kodi-x11 not found
+ exit 2
it has executeable flag as it appears.
root@1ad4558a1249:/usr/lib/kodi# ./kodi-x11
terminate called after throwing an instance of 'std:
ystem_error'
what(): Operation not permitted
Aborted (core dumped)
is there a text editor inside this docker?
edit: adding --privileged to docker solved it. thanks for the help