Docker for M1 is now General Availability (GA)
Docker Desktop for Mac [Apple Silicon] became GA (announced on Apr 15 2021).
https://www.docker.com/blog/released-docker-desktop-for-mac-apple-silicon/
In this post, I am going to install the new version and run the image which was not available before.
uninstall
Pressing the upgrading button might work.
But to be on the safe side, I explicitly uninstalled the old version before installing the new one.
% docker -v
Docker version 20.10.1, build 831ebeae96
docker > preference > bug icon > uninstall
install
System requirements say that you need must install Rosetta 2, but I got the following message:
% softwareupdate --install-rosetta
Installing Rosetta 2 on this system is not supported.
It seems that Mac asks you when it actually needs Rosetta, so I skipped this part.
1. Download .dmg from https://docs.docker.com/docker-for-mac/install/ > Mac with Apple chip
2. Open
% open -a dockerand follow the instructions.
3. Confirm
% docker -v
Docker version 20.10.5, build 55c4c88
run "getting-started"
% docker run -d -p 80:80 docker/getting-started
% docker ps
It worked well like before.
run Jekyll
Jekyll did not work a few months ago. I tried running it to confirm it works now.
https://web-quickstart.blogspot.com/2021/04/jekyll-quick-start.html
$ jk new myblog
$ cd myblog
$ jk build
$ jk serve


Comments
Post a Comment