-
Notifications
You must be signed in to change notification settings - Fork 378
x11docker on MS Windows
mviereck edited this page Jul 29, 2019
·
37 revisions
x11docker can run natively on MS Windows electively in one of:
x11docker on MS Windows provides basic functionality, but misses some features available on Linux. E. g. --webcam
, --pulseaudio
and --printer
do not work. However, running in a Linux VM instead of running natively on Windows is fully supported.
- To install x11docker in one of MSYS2, Cygwin or WSL follow the general installation instructions.
- For the shortest way you might need to install
curl
first.
- For the shortest way you might need to install
- Provide an X server to allow graphical Linux applications.
x11docker needs an X server on MS Windows.
- In Cygwin it is enough to install packages
xinit
andxauth
using the Cygwin installer. Run x11docker with e.g.x11docker x11docker/check
- In WSL and MSYS2 you need
runx
to provide X server VcXsrv or XWin. Run x11docker with e.g.runx -- x11docker x11docker/check
- To fix possible error message
Error response from daemon: error while creating mount source path: mkdir /host_mnt/c: file exists.
have a look at ticket #104. - Error messages like
./x11docker: line 2: $'\r': command not found
indicate a wrong line ending conversion from git. Rundos2unix x11docker
once to fix it. - Firewall settings in Windows can cause issues for container applications accessing the X server. If everything starts up without an obvious error, but no application window appears, have a look at ticket #108.