This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
MacOS export to import on Linux needs --platform linux/amd64
#105
Labels
bug
Something isn't working
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 platform
linux/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
:The text was updated successfully, but these errors were encountered: