简体   繁体   English

在 arm64 上运行 amd64 docker 映像

[英]Running amd64 docker image on arm64

I am trying to run a amd64 based docker image on my arm64 based host platform.我正在尝试在基于 arm64 的主机平台上运行基于 amd64 的 docker 映像。 However, when I try to do so (with docker run) I get the following error但是,当我尝试这样做时(使用 docker 运行)我收到以下错误

Error: standard_init_linux.go:219: exec user process caused: exec format error错误:standard_init_linux.go:219:exec 用户进程导致:exec 格式错误

I am afraid you still need to compile the code for arm64 architecture and build your own docker file, then docker run it.恐怕你还需要编译arm64架构的代码并构建你自己的docker文件,然后docker run它。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在amd64上运行arm64的macOS中的docker - docker in macOS running arm64 on amd64 在 arm64 架构(Apple M1)上运行 docker amd64 图像而不重建 - Running docker amd64 images on arm64 architecture (Apple M1) without rebuilding 在 linux/amd64 主机上构建 linux/arm64 docker 镜像 - Build linux/arm64 docker image on linux/amd64 host 如何在arm64主机平台上运行amd64 docker镜像 - how to run amd64 docker images on arm64 host platform 如何在 arm64 主机上运行 amd64 docker 镜像 - How to run an amd64 docker images on arm64 host 如何在 arm (Raspberry OS) 上运行 amd64 映像 Docker - How to run amd64 image Docker on arm (Raspberry OS) Docker 入门:警告:请求的图像平台(linux/arm64/v8)与检测到的主机平台(linux/amd64)不匹配 - Docker get-started: WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) M1 docker 预览和 keycloak 'image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)' 问题 - M1 docker preview and keycloak 'image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)' Issue 将镜像推送到多个架构(例如 amd64、arm64)的 Docker Hub 并自动拉取正确的镜像 - Pushing images to Docker Hub for multiple architectures (e.g. amd64, arm64) and pulling the correct one automatically 警告:请求的图像平台 (linux/amd64) 与检测到的主机平台 (linux/arm64/v8) 不匹配 - WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM