Update file run_onchange_before_11-install-docker.tmpl
This commit is contained in:
parent
9264de76f4
commit
ed3d78268f
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue