Tag: apple
-
Notes on Docker development and speed on Apple Silicon platforms
Apple builds on linux/arm64/v8, however, Linux production clusters run linux/amd64 This means you can’t save an image from Apple Silicon and push it to the cloud. A “fix” is to export DOCKER_DEFAULT_PLATFORM=linux/arm64/v8, however this will make containers insanely slow on development Apple Silicon, so do not this globally (in ~/.zprofile). You want images to be…
-
Set default docker platform for Apple Silicon
in ~/.zprofile (or equivalent) This enables all images built on Apple Silicon to run natively on Linux machines, ie. Ubuntu