-
Linux OS with a running X-Server Display
-
docker run -it \ -v "/tmp/.X11-unix":"/tmp/.X11-unix" \ -e DISPLAY="unix$DISPLAY" \ --device "/dev/snd" \ --name "windows95" \ toolboc/windows95
Note
You may need to run xhost +
on your system to allow connections to the X server running on the host.
-
Start the Xming X11 Server
-
Run the command below:
docker run -e DISPLAY=host.docker.internal:0 --name windows95 toolboc/windows95
-
Start XQuartz, go to
Preferences
->Security
, and check the boxAllow connections from network clients
-
Restart XQuartz
-
In the terminal, run:
xhost +
-
Run:
docker run -it -e DISPLAY=host.docker.internal:0 toolboc/windows95