Last active
July 24, 2018 18:20
-
-
Save acidprime/eac83c43101044bcc28f9a73469afd75 to your computer and use it in GitHub Desktop.
Install docker on mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -d /Applications/Docker.app/ ] ; then | |
curl https://download.docker.com/mac/stable/Docker.dmg -o /tmp/docker.dmg | |
hdid /tmp/docker.dmg | |
cp -Rvp /Volumes/Docker/Docker.app /Applications/ | |
umount /Volumes/Docker | |
open /Applications/Docker.app | |
else | |
echo "Docker is already installed" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment