


Once Docker’s installed and set up, you can follow the instructions for using the LSST stack images, e.g. In the Docker needs privileged access dialog box, click OK. Press + Space to bring up Spotlight Search and enter Docker to launch Docker. The eval $(docker-machine env default) line needs to be run before you use docker run you may want to put it in your ~/.bashrc. Running the Docker app for the first time creates this symbolic link.The brew install virtualbox command requires intervention in the “System Preferences” -> “Security & Privacy”: you need to give permission for the installation.# Run this to set environment before running docker Sudo dseditgroup -o edit -a price -t user docker So here’s how I installed Docker using Homebrew and used it to run the latest version of the LSST stack: brew install dockerīrew install virtualbox # Requires SystemPreferences interventionĭocker-machine create default -virtualbox-cpu-count 6 -virtualbox-memory 8192 With an extension of the Homebrew Cask of Homebrew, you can easily and quickly install the Mac OS app from the terminal.

Xcode is an integrated development environment for macOS, and it contains tools that Homebrew needs to function properly. This is probably the easiest way, but unfortunately not the best. I use Homebrew on my Mac, and prefer to use that instead of downloading images from various vendors. How To Install Homebrew on Mac Follow the steps below to download and execute Homebrew installation script on your Mac. First what you have to do is to go to Docker website and just download and run the. However, I’ve been wanting more recent images for developing on master, and I’d like to be able to stay up to date with the stack without much effort, so when mentioned some Docker problems in Slack, it triggered an interest in getting that working on my Mac. I haven’t updated the stack build on my Mac for quite some time, as it takes a while.
