A Docker Error on Mac

When building a Dockerfile from my MacBook:

> docker build .Sending build context to Docker daemon  123kBStep 1/8 : FROM debian:jessiejessie: Pulling from library/debianno matching manifest for linux/arm64/v8 in the manifest list entries

A quick search of the error “no matching manifest for linux/arm64/v8 in the manifest list entries” indicates it has to do with Apple M1 Chip.

Workaround

Pull the image with the platform specified:

> docker pull — platform linux/amd64 debian:jessie

Then run build again:

> docker build .

--

--

A pragmatic programmer with a rubber duck.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store