This repo provides a way to run SolveSpace without installing it natively on one's machine.
- Docker
To run SolveSpace from within Docker, on macOS, you need an X11 host.
Installing XQuartz on macOS...
-
Download and install from xquartz.org (version 2.8.1 or later)
-
Launch
XQuartz
-
Preferences
>Security
> enableAllow connections from network clients
Now your Mac will be listening on port 6000 for X11 connections.
Note: You can close the
xterm
window that opens. Don't need it. -
Quit and restart XQuartz (needed for the setting to take effect)
-
In a macOS terminal:
$ xhost + localhost localhost being added to access control list
These instructions were based on:
$ git submodule update
That populates the solvespace.sub
subpackage, holding the sources.
$ ./build.sh
...
=> => naming to docker.io/library/solvespace
You now have a solvespace
Docker image (~780MB) that can run the SolveSpace GUI application.
Once WSLg (GitHub) is out, by the end of 2021, you can run Linux GUI programs in Windows 10, seamlessly.
PENDING... for WSLg public release.
$ docker run -it --rm -v`pwd`:/work solvespace
The author is not aware of other SolveSpace Docker images.
- How to show X11 windows with Docker on Mac (blog, Oct 2017)