Open IORoot opened 1 year ago
Hi @IORoot, thank you very much for opening this issue. As of today, the extension will push the volume to Hub in the shape of an image whose platform matches the host's platform.
I'll discuss this with the team internally and will come back to you.
Describe the bug I've exported a backup to my repository (to keep a version-history of data) on dockerhub successfully from a MacOS laptop . I'm now pulling that image down onto a production linux machine (that doesn't have docker-desktop) via a docker pull. I was going to use Bret's
vackup
tool at this point to get the data into a volume on the linux machine. Unfortunately, I can't access the image that I've pulled because the Mac has built the image as platformlinux/arm64/v8
and the linux machine is expectinglinux/arm64
.I've tried to set the
DOCKER_DEFAULT_PLATFORM=linux/amd64
environment variable, but docker desktop or the plugin doesn't seem to read that.Is there a way to build the image with a
--platform linux/amd64
ordocker buildx build --platform linux/amd64
to enable compatibility between hosts?The error:
or
Describe the expected behavior Expect the volume to be readable on a linux host, when the backup is made from a MacOS host.
Output of
docker extension version
:Output of
docker version
: