What to do if Docker Desktop fails to launch on your M1 MacBook Pro

What to do if Docker Desktop fails to launch on your M1 MacBook Pro

error contents

I bought a new MacBook Pro with an M1 chip, but Docker Desktop (Preview7) did not start with the following error. .. errorImage.png

Looking at the terminal, this error

python


docker --version
zsh: bad CPU type in executable: docker

approach

When I installed Rosetta 2 from the terminal, Docker started successfully.

python


/usr/sbin/softwareupdate --install-rosetta --agree-to-license

reference

https://www.gitmemory.com/issue/docker/for-mac/5155/748248913

Recommended Posts

What to do if Docker Desktop fails to launch on your M1 MacBook Pro
What to do if deployment fails on Heroku (Ruby app not detected)
What to do if mvn archetype: generate fails
Xdebug on Docker doesn't work on M1 Macbook Pro
What to do if the debug gem installation fails
What to do if TextToSpeech doesn't work on Android 11
What to do if password authentication fails in Docker/Postgres
What to do if audio is not available on discordrb
Use Docker on your M1 Mac
What to do if you get a gcc error in Docker
Notes on what to do if Ubuntu 20.04 installation on Virtual box 6.1 (Windows10) fails with "Error 5 Input / output error"
no space left on device What to do if an error occurs
What to do if you install Ubuntu
What to do if you get a MiniMagick vulnerability alert on GitHub
What to do if you have enabled Use the WSL2 based engine in Docker Desktop with insufficient WSL2 installation
What to do if you have installed Java for OS X on macOS
What to do if you get an error on heroku rake db: migrate
What to do if build from command line fails in Android development environment
What to do if the rails server doesn't run out on AWS cloud9
What to do if ffi installation fails when launching an application in Rails
What to do if the server tomcat dies
What to do if you push incorrect information
What to do if you get a NoClassDefFoundError when trying to run eclipse on Java9
Ssh to Ubuntu on VirtualBox on your Mac and do it until you install Docker
What to do if you can't find your API key after deploying to Rails heroku
What to do if you get a port error when docker-compose up on Mac
What to do if Android Studio says "your CPU doesn't support vt-x or svm"
What to do if the Rails server can't start
What to do if ClassNotFoundException occurs when starting Tomcat
What to do if rails server can't be stopped
What to do if an ActionController :: UnknownFormat error occurs
What to do if you enable UFW on Ubuntu VM on GCP and you can't connect to SSH
What to do if you change the Listen Address from the settings screen with Mattermost docker
What to do if a SAX Parser error occurs when using Liferay 7 / DXP on AWS
What to do if you get a "302" error in your controller unit test code in Rails
What to do when Rails on Docker does not reflect controller changes in the browser
What to do if you get a java.io.IOException in GlassFish
What to do when you launch an application with rails
What to do if FacesMessage is set but not displayed
What to do if the adb command cannot be executed
What to do if mysql2 gets a bundle install error
What to do if you can't use the rails command
What to do if you go offline due to SSL certificate error when running Jenkins on Mac
[Spring Boot] What to do if an HttpMediaTypeNotAcceptableException occurs on an endpoint for which produces is set
What to do if you get an [An HTTP request took too long to complete.] Error in Docker.