Added docker prompt for mac
This commit is contained in:
@@ -121,24 +121,34 @@ if [ "$install" == "1" ]; then
|
|||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
echo "Downloading the Docker for Mac installer"
|
echo "Do you have Docker installed?"
|
||||||
brew install wget
|
|
||||||
wget https://download.docker.com/mac/stable/Docker.dmg
|
|
||||||
hdiutil attach Docker.dmg
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Please drag Docker as instructed in the popup."
|
echo "${RED}1${NC} - No, install it for me!"
|
||||||
|
echo "${RED}2${NC} - Yes"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Press enter when finished."
|
read docker
|
||||||
echo ""
|
if [ "$docker" == "1" ]; then
|
||||||
read
|
echo "Downloading the Docker for Mac installer"
|
||||||
echo ""
|
brew install wget
|
||||||
open /Applications/Docker.app
|
wget https://download.docker.com/mac/stable/Docker.dmg
|
||||||
echo ""
|
hdiutil attach Docker.dmg
|
||||||
echo "Docker is launching. Please follow the directions that it gives you."
|
echo ""
|
||||||
echo ""
|
echo "Please drag Docker as instructed in the popup."
|
||||||
echo "Press enter when finished."
|
echo ""
|
||||||
echo ""
|
echo "Press enter when finished."
|
||||||
read
|
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
|
||||||
|
continue
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user