Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://hub.docker.com/signup

Pull the image of MercuryTrunk by running this in command window:

"sudo docker pull haoutwente/mercurytrunk"

Then you can check the images you have with this command:

"sudo docker images"

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

...

  • Install the latest XQuartz X11 server and run it: https://www.xquartz.org/
  • Activate the option ‘Allow connections from network clients’ in XQuartz settings
  • Quit & restart XQuartz (to activate the setting)
  • Ensure localhost is allowed X11 forwarding run this in command line: "xhost + 127.0.0.1"
  • Then run this in command line: "sudo docker run -it -e DISPLAY=host.docker.internal:0 haoutwente/mercurytrunk"

...

  • sudo apt install libx11-dev libxt-dev libxres-dev libxtst-dev 
  • Then run this in the command line: "xhost +"
  • Then run the following to open the image

       "sudo docker run -it -v /etc/localtime:/etc/localtime:ro -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY -e GDK_SCALE -e GDK_DPI_SCALE haoutwente/mercurytrunk"

...

To save changes of the current image:

"sudo docker commit -m "MESSAGE" -a "AUTHOR_INFO" CONTAINER_ID haoutwente/mercurytrunk:latest

Then push it back to the docker hub:

"sudo docker push haoutwente/mercurytrunk"

...