Qt Docker xtb无法连接到显示器

Qt Docker xtb无法连接到显示器,qt,docker,qt5,Qt,Docker,Qt5,安装:Windows->WSL Ubuntu->Docker 我第一次启动一个项目时,它工作正常。第二次,由于未知原因,它找不到显示,因为容器是在XAuth通过的情况下执行的,即使在特权模式下也会失败 项目: qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This applica

安装:Windows->WSL Ubuntu->Docker 我第一次启动一个项目时,它工作正常。第二次,由于未知原因,它找不到显示,因为容器是在XAuth通过的情况下执行的,即使在特权模式下也会失败

项目:

qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.