Skip to content

Commit

Permalink
Docker Desktop 2.1.0.0 (19.03.1) doesn't let you install as root (#1748)
Browse files Browse the repository at this point in the history
This breaks our macOS installation on CircleCI.
This uses 18.09 docker instead on CircleCI. Pretty sad.
  • Loading branch information
rfay committed Jul 31, 2019
1 parent ab3de84 commit 0e4527c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/macos_circle_vm_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
set -o errexit
set -x

# Docker desktop after 31259 refuses to install using root
DOCKER_URL=https://download.docker.com/mac/stable/31259/Docker.dmg
curl -O -sSL $DOCKER_URL
open -W Docker.dmg && cp -r /Volumes/Docker/Docker.app /Applications

# Basic tools
brew update >/dev/null 2>/dev/null

# Get docker in first so we can install it and work on other things
brew cask install docker ngrok
brew cask install ngrok

sudo /Applications/Docker.app/Contents/MacOS/Docker --quit-after-install --unattended
nohup /Applications/Docker.app/Contents/MacOS/Docker --unattended &

Expand Down

0 comments on commit 0e4527c

Please sign in to comment.