Install Rosetta 2 before opening Docker Desktop
This commit is contained in:
parent
ef27add5d3
commit
3be9b5604d
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ install_docker() {
|
|||
print_success "Docker Desktop installed"
|
||||
fi
|
||||
|
||||
print_warning "Installing Rosetta 2 (required by Docker)..."
|
||||
softwareupdate --install-rosetta --agree-to-license
|
||||
print_success "Rosetta 2 ready"
|
||||
|
||||
print_warning "Opening Docker Desktop..."
|
||||
if [ -d "/Applications/Docker.app" ]; then
|
||||
open -a Docker
|
||||
|
|
|
|||
Loading…
Reference in a new issue