3

我正在尝试使用 Docker for Mac 运行需要 GUI 的 Docker 容器。我按照本指南使用 macOS 10.12.3、Docker for Mac 17.03.0-ce 和 XQuartz 2.7.11。

但是,当我运行时docker run -d --name firefox -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix jess/firefox,什么也没发生,并docker logs给出以下信息,

(firefox:1): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ExceptionHandler::GenerateDump cloned child 16
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

有没有人有这个问题的经验?我在网上查了一下,还没有找到解决办法。

先感谢您。

4

0 回答 0