Sign inSign up

joengenduvel/docker-x11-client

By joengenduvel

•Updated about 8 years ago

A machine that can use an external X11 server

Image
0

1.7K

joengenduvel/docker-x11-client repository overview

⁠docker-x11-client

⁠Goal

This images provides a linux machine with all the tools needed to Launch X11 applications in a docker container

⁠Windows

You will need to install an X server for Windows. I went for Vcxsrv⁠ and [Xming](https://sourceforge.net/projects/xming/⁠. The DISPLAY environment variable points by default to 10.0.75.1:0.0. If you use docker on Windows 10, this should be ok.

I found Xming has better performance than Vcxsrv

⁠Vcxsrv

To configure Vcxsrv, start Xlaunch. It will prompt with some questions of what options you want to set. Make sure you add the extra option -rootless in the last screen. Save this configuration file in one of these locations:

  • %appdata%\Xming
  • %userprofile%\Desktop
  • %userprofile%
  • Xming install directory.
⁠Xming

The standard installation should do the trick.

⁠Linux

If you have a desktop environment installed, you can use the excisting X server of your host. Replace the IP in the DISPLAY environment variable with your host's IP or hostname.

⁠Known issues

  • menus of Visual Studio Code are slow when using Vcxsrv

⁠Usage

⁠Create a home volume

docker create -v /home/dev --name home alpine /bin/true

⁠Run the container
 docker run -i -t --rm --name intellij --volumes-from home joengenduvel/docker-x11-client xclock

Tag summary

Content type

Image

Digest

Size

309 MB

Last updated

about 8 years ago

docker pull joengenduvel/docker-x11-client