Code: Select all
/container add file=usb2/myimage.tar root-dir=usb2/myimage interface=veth3
Code: Select all
importing tar archived image: myimage.tar
error getting layer file
failed to load next entry
import finished but no image found
My Dockerfile (below) is very simple and I don't suspect the binary I'm using is the culprit as it's very small. I've even tried a "blank" alpine image (a little trickier because the container needs something to run) and I always get the same extraction error on loading.
Code: Select all
FROM arm64v8/alpine:latest
COPY mybinary /mybinary
EXPOSE 1234/tcp
CMD ["/mybinary", "-v"]
Code: Select all
docker buildx build --no-cache --platform linux/arm64 -t myimage .
Code: Select all
docker save myimage > myimage.tar