You can mix in any standard docker options there - in this case I created shared volume between my OSX home directory and a /home/timlinux directory in the container. Lastly I ran the QGIS docker container like this: docker run -rm -e DISPLAY=192.168.0.3:0 \ -i -t -v /Users/timlinux:/home/timlinux \ kartoza/qgis-desktop qgis Next I started kinematic, and pressed SHIFT-COMMAND-T to open a docker terminal. In X11 preferences in XQuartz, in the security tab, check both boxes: Next I started XQuartz (you can close the XTerm window that opens by default). It will run in the foreground waiting for connections and then pass them over to XQuartz. I started socat like this: socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
![osx docker image osx docker image](https://learning-continuous-deployment.github.io/assets/images/docker_on_osx_banner.jpg)
However there is a very nice (currently beta) docker client being developed for OSX called kinematic. Unfortunately docker does not run natively on OSX, and the whole boot2docker setup is probably quite difficult to explain to people. Just grab the package at and do the usual OSX procedure for installing it.
#Osx docker image install#
Next we are going to install XQuartz - which basically gives you an X11 display client on your OSX desktop. Now install socat - a command line tool that lets you redirect sockets in unix like OS's - thankfully it runs in OSX too as it is a really neat tool! brew install socat Ok first install brew (an apt-like package manager for OSX).
![osx docker image osx docker image](https://thenewstack.io/wp-content/uploads/2016/03/Screen-Shot-2016-03-23-at-9.21.33-AM-1024x815.png)
Copy than and then you can connect to it with VNC on port 8888.
#Osx docker image password#
Just rĪfter it starts running, you will be shown a vnc password in the terminal. I didn't have to change any default settings or permissions. That should get it to show up in your containers list in unraid. i just wanted an easy place to dump the dockerfile temporarilyÄocker run -device /dev/kvm -device /dev/snd -p 8888:5999 -p 50922:10022 -d -privileged docker-osx-vnc:latest
![osx docker image osx docker image](https://nektony.com/wp-content/uploads/2020/11/uninstall-docker@2x.png)
Open the terminal on your unraid machine either through the web or ssh. I'm still working to get mine set up, but the vnc container does run and stays running unlike the standard one.