2,225
edits
Line 305: | Line 305: | ||
docker create -ti --name guicontainer -e DISPLAY="host.docker.internal:0" -v /tmp/.X11-unix:/tmp/.X11-unix myimage:mytag | docker create -ti --name guicontainer -e DISPLAY="host.docker.internal:0" -v /tmp/.X11-unix:/tmp/.X11-unix myimage:mytag | ||
</syntaxhighlight> | </syntaxhighlight> | ||
You will need to enable X11 remote connections on your system: | |||
;Debian based | |||
:xhost + 127.0.0.1 | |||
;Mac OSX based | |||
:XQuartz Preferences -> Security (disable ''Authenticate connections'' and enable ''Allow connections from network clients'') | |||
==== Via X2Go ==== | ==== Via X2Go ==== |