Calling Developers!
We are reenergizing our code contribution process! Learn More

Issue with docker on Mac when you want to use images with hash

Options
damijan
damijan Posts: 4 🧑🏻‍🚀 - Cadet

There is a know issue ( https://github.com/docker/buildx/issues/795 ) that docker build fails to find a local image that was built using a hash. For example if you define

spryker/php:8.1-alpine3.17@sha256:6c881a6022ed15b52ebeb8fa5391968dfd8c90ad671663797a189bf86da7ab92

as an image in your deploy.yml docker/sdk up will fail with an error about permissions.

Solution to fix this is to disable buildkit by adding “features”: { “buildkit”: false } into your ~/.docker/config.json

I hope it helps someone. Took a while to figure this out.

Linux does not have this issue.