Open vincer opened 4 months ago
This should help
docker buildx create --use --name super-builder
@vincer Edit $HOME/.colima/default/colima.yaml
to contain:
# NOTE: value cannot be changed after virtual machine is created.
# Default: qemu
vmType: vz
# Utilise rosetta for amd64 emulation (requires m1 mac and vmType `vz`)
# Default: false
rosetta: true
docker:
features:
containerd-snapshotter: true
Then run colima restart
and containerd storage should become enabled.
Then run
colima restart
and containerd storage should become enabled.
you may need to delete ~/.colima/_lima/colima/diffdisk
if the restart fails. Had an error that its format was wrong. Deleting it and restarting colima again resolved that.
Description
When running
docker build --platform linux/amd64,linux/arm64 .
I get:Per this issue comment it sounds like this should work out of the box.
buildx says it's using Colima:
I tried recreating the buildx builder, recreating the Colima instance and always get that message which refers me to Docker Desktop docs to enable the "containerd image store". Is there an equivalent step for Colima or some other step I need to take?
Version
Operating System
Output of
colima status
Reproduction Steps
docker build --platform linux/amd64,linux/arm64 .
Expected behaviour
A multi-platform image is built.
Additional context
No response