You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brew install colima docker installs the latest Docker Engine 27.0.3. However, colima uses the Docker Engine API 1.45, instead of the latest API version 1.46.
Due to recent changes, running docker push now raises a note when pushing a single platform image from a multi-platform index. It appears 27.0.3 needs a --platform flag now for docker push, and docker pull, but this needs Docker Engine API 1.4.6, causing a failure:
[ NOTE ] Selecting a single platform will only push one matching image manifest from a multi-platform image index.
This means that any other components attached to the multi-platform image index (like Buildkit attestations) won't be pushed.If you want to only push a single platform image while preserving the attestations, please use 'docker convert\n'"platform" requires API version 1.46, but the Docker daemon API version is 1.45
Description
brew install colima docker
installs the latest Docker Engine 27.0.3. However, colima uses the Docker Engine API 1.45, instead of the latest API version 1.46.Due to recent changes, running
docker push
now raises a note when pushing a single platform image from a multi-platform index. It appears 27.0.3 needs a--platform
flag now fordocker push
, anddocker pull
, but this needs Docker Engine API 1.4.6, causing a failure:Note that it works with Lima, as Lima uses API version 1.46. I've raised an associated ticket with Docker to clarify the message, and a possible resolution.
Version
Operating System
Output of
colima status
Reproduction Steps
docker build . -t example:latest
docker push example:latest
Expected behaviour
Would expect
docker push
to work as expected.Additional context
My
~/.zshrc
file has the following environment variable set:export DOCKER_DEFAULT_PLATFORM=linux/amd64
The text was updated successfully, but these errors were encountered: