Skip to content

Instantly share code, notes, and snippets.

@BruceWind
Last active July 14, 2021 14:55
Show Gist options
  • Save BruceWind/32920cf74ba5b7172b31b06fec38aabb to your computer and use it in GitHub Desktop.
Save BruceWind/32920cf74ba5b7172b31b06fec38aabb to your computer and use it in GitHub Desktop.
Run Asciio on MacOS

What is Asciio

App::Asciio - Plain ASCII diagram.

The app is free for you drawing diagram to discribe your logics of your codes or classes. But it is can't work on MacOS, so I made this docker image to make it working on MacOS. Hope you enjoying it.

installing xquartz on MAC:

brew install xquartz

Configing XQuartz

XQuartz is the basis for supporting x11 to run Asciio with GUI.

  1. open XQuartz,
  2. open menu "application" -> "terminal"
  3. input command : xhost +

Pulling docker image

docker pull brucexx1/asciio_docker_test

The latest command you should run:

docker container run  -it -e DISPLAY=host.docker.internal:0 brucexx1/asciio_docker_test
@mavam
Copy link

mavam commented Jul 14, 2021

Might be that this is brittle and only works with specific macOS versions. I'm currently on Big Sur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment