also run on MacOS with XQuartz
This commit is contained in:
parent
a34ce54b56
commit
aeba364a7a
|
@ -23,3 +23,13 @@ Note: You may need to run `xhost +` on your system to allow connections to the X
|
|||
4. Run the command below and replace the `<XmingServerHostIp>` placeholder with the ip from step 2
|
||||
|
||||
docker run -it -e DISPLAY=<XmingServerHostIp> --name windows95 toolboc/windows95
|
||||
|
||||
## Display using the host XQuartz Server (MacOS Only):
|
||||
**Requirements:**
|
||||
* [XQuartz](https://www.xquartz.org/)
|
||||
* [Docker](http://docker.io)
|
||||
|
||||
1. Start XQuartz ,go to "Preferences -> Security " ,and check the box "allow connections from network clients"
|
||||
2. restart XQuartz
|
||||
3. In the terminal ,run "xhost +"
|
||||
4. run "docker run -it -e DISPLAY=host.docker.internal:1 toolboc/windows95"
|
||||
|
|
Loading…
Reference in a new issue