Skip to content

[HOLD] Samples on using dockerized X11 GUI applications, on macOS (using XQuartz)

Notifications You must be signed in to change notification settings

akauppi/XQuartz-lab

Repository files navigation

Docker SolveSpace

This repo provides a way to run SolveSpace without installing it natively on one's machine.

Requirements

  • Docker

For running on macOS as a GUI

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 > enable Allow 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:

Getting started

$ 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.

Launching

Windows + WSL2 + WSLg

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.

macOS

$ docker run -it --rm -v`pwd`:/work solvespace

Alternatives

The author is not aware of other SolveSpace Docker images.

References

About

[HOLD] Samples on using dockerized X11 GUI applications, on macOS (using XQuartz)

Resources

Stars

Watchers

Forks