最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

importing image fails with "varlibdockertmp... no such file or directory" - Stack Overflow

programmeradmin0浏览0评论

I try to import a multiplatform docker image, build&exported with docker buildx build --platform linux/amd64,linux/arm64 -t openhaus/backend:latest --output type=oci,dest=backend-multi.tar .

The build completes, and outputed the image as backend-multi.tar. I copied the file via scp to my raspberry, and wanted to import the image with docker load -i backend-multi.tar

The import fails with:

root@testboard:~# docker load -i backend-multi.tar 
open /var/lib/docker/tmp/docker-import-107471782/blobs/json: no such file or directory

Another try to bypass this, was with docker import from , but that fails when you try to start a container with:

root@testboard:~# docker run -it --rm openhaus/backend:latest
docker: Error response from daemon: no command specified.

Whats the proper way to build a multiplatform image, export and import it?
I want first test the image before push it into a registry.

Not sure if the question is better suited on another SO site.

发布评论

评论列表(0)

  1. 暂无评论