Changes needed for manual Docker install on Mac

This commit is contained in:
Marwolf
2018-07-14 18:14:30 -04:00
parent e7065e7b9e
commit 3921d5c0e6

View File

@@ -121,9 +121,24 @@ if [ "$install" == "1" ]; then
fi
echo ""
echo ""
echo "Attempting to install Docker now"
echo "Downloading the Docker for Mac installer"
brew install wget
wget https://download.docker.com/mac/stable/Docker.dmg
hdiutil attach Docker.dmg
echo ""
brew install docker docker-compose docker-machine xhyve docker-machine-driver-xhyve
echo "Please drag Docker as instructed in the popup.
echo ""
echo "Press enter when finished."
echo ""
read
echo ""
open /Applications/Docker.app
echo ""
echo "Docker is launching. Please follow the directions that it gives you."
echo ""
echo "Press enter when finished."
echo ""
read
else
echo ""
echo ""
@@ -152,6 +167,7 @@ if [ "$install" == "1" ]; then
curl -fsSL get.docker.com -o get-docker.sh
sudo sh get-docker.sh
echo ""
echo ""
echo "Do you have Java OpenJDK installed already?"
echo ""
echo "${RED}1${NC} - Install for me!"