Docker Community Forums

Share and learn in the Docker community.

GUI Apps on Windows

(Madog) #1

Hi All:

I have gotten various GUI apps (e.g., firefox) to run on Docker on a Linux host. I’m trying to do the same thing on a Windows host, and am stumbling on what I think are X problems.

To get a Firefox container to run on a Linux host, to a terminal I added “xhost local:root”. On the Windows host, I get “bash: xhost: command not found”.

When I try to run the container, I get:

(process:1): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0’

(firefox:1): Gtk-WARNING **: Locale not supported by C library.
Using the fallback ‘C’ locale.
Error: cannot open display: unix

My guess is this is probably a simple fix, but after some searching today I’m striking out.