You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some QT5 applications running with recent QT5 versions fail in docker containers with error message:
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Running with QT5 debug option --env QT_DEBUG_PLUGINS=1 shows some more error messages. The important part seems to be:
Cannot allocate memory
Solutions found so far:
Use an older QT5 version. For example, QT5 images based on debian stretch work well, while images based on debian buster fail.
A quick and dirty fix is to run the container with flag --security-opt seccomp=unconfined. That degrades container security and must not be a general solution.
It turns out to be an issue with statx syscall. It is already whitelisted in recent docker versions, but did not reach the distributions yet. It is fixed in docker-ce 18.06, but not in 18.03.
Some QT5 applications running with recent QT5 versions fail in docker containers with error message:
Running with QT5 debug option
--env QT_DEBUG_PLUGINS=1
shows some more error messages. The important part seems to be:Solutions found so far:
debian stretch
work well, while images based ondebian buster
fail.--security-opt seccomp=unconfined
. That degrades container security and must not be a general solution.Related thread: https://forum.qt.io/topic/92783/qt-doesn-t-work-in-my-archlinux-docker
The text was updated successfully, but these errors were encountered: