Update file run_onchange_before_11-install-docker.tmpl

This commit is contained in:
Brian Zalewski 2023-01-25 05:10:11 +00:00
parent 9264de76f4
commit ed3d78268f

View file

@ -7,8 +7,12 @@
### Install Docker
if [ -d /Applications ] && [ -d /System ]; then
# macOS
logg info 'Installing Docker on macOS via Homebrew cask'
brew install --cask docker
if [ ! -d /Applications/Docker.app ]; then
logg info 'Installing Docker on macOS via Homebrew cask'
brew install --cask docker
else
logg info 'Docker appears to be installed already'
fi
logg info 'Opening the Docker for Desktop app so that the Docker engine starts running'
open --background -a Docker
elif command -v apt-get > /dev/null; then