![gui docker mac os gui docker mac os](https://docker-docs.netlify.app/toolbox/images/applications_folder.png)
Ok so there are four steps we need to do to run our Linux app: Once the image is downloaded we are done with the basic setup and can kick over to running our Linux GUI application (obviously QGIS in this example). Now grab my QGIS desktop image for docker: docker pull kartoza/qgis-desktop I installed kinematic and then simply hit shift-command-t in order to get a bash shell with docker available in it. 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.
#Gui docker mac os 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). Run it forwarding the display to your OSX host.Grab a docker image that has a gui app you want to run (I used my the QGIS Desktop image published by Kartoza on the docker hub).I turns out that it is fairly easy to do this - here is what I did: Overview One thing I was curious about was whether it would be possible to run native GUI (X11) applications from inside docker and have them show up on my OSX desktop.
![gui docker mac os gui docker mac os](https://d1q6f0aelx0por.cloudfront.net/icons/d4mac-artboard2.png)
Well that is what happened to me, so I decided to give working with OSX a try on this laptop with the help of docker for running all those essential apps that I use for development. Ok so here is the scenario: You just got a nice new MacBook 15" Retina computer thinking it would work as nicely for Linux as your 13" MacBook did and then you discover that the hybrid Intel/Nvidia card support in Linux is a show stopper and the WebCam does not work under Linux.