https://bugreports.qt.io/browse/QTBUG-70447 notes that a newer Docker fixes it.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1774739 Title: Running Qt apps inside a 18.04 container crashes Status in qtbase-opensource-src package in Ubuntu: New Bug description: What happened: 1) Install a container system (eg Docker, LXD) - I'm using Docker 2) Create a container which is Ubuntu 18.04 3) Install a Qt app, eg qtcreator, inside the container 4) Run the container so that it shows the hosts X11 socket 5) Notice that the application fails to start What I expected to happen: At step 5 for the application to start. Note that the same steps work fine for Ubuntu 16.04 and 17.10 - and if it matters my host is 17.10. Here is a stacktrace of the crash https://pastebin.ubuntu.com/p/WKKGmxqqSx/ Here is a Dockerfile that reproduces the issue https://pastebin.ubuntu.com/p/nzmJRfPYVc/ to use this make a Dockerfile in an empty folder with the pastebin contents, then simply run the following commands in that folder $ sudo apt install docker.io $ sudo docker build -t qtbug . $ sudo docker run --rm -ti -e DISPLAY --net=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined qtbug This should enter you into the gdb session. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1774739/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp