Skip to content

amd64的CPU拉docker镜像,只能拉取到arm镜像 #178

@letwhypass

Description

@letwhypass

环境

  • 操作系统:Ubuntu 24

问题描述

~# docker run --platform linux/amd64 -p 7891:7891 cft0808/sansheng-demo
Unable to find image 'cft0808/sansheng-demo:latest' locally
latest: Pulling from cft0808/sansheng-demo
3b66ab8c894c: Pull complete
8f7c7c42921c: Pull complete
3512528801c6: Pull complete
2791686582b2: Pull complete
f56f1437a840: Pull complete
a51cccbeafe1: Pull complete
3a3577e56282: Pull complete
43121c9b1a35: Pull complete
4e3824e56536: Pull complete
78605e69c240: Pull complete
Digest: sha256:e5e5f1c1db158c01356f2a946626c90bc61e4b092044ec6344a1b1ff0222d453
Status: Downloaded newer image for cft0808/sansheng-demo:latest
WARNING: image with reference cft0808/sansheng-demo:latest was found but its platform (linux/arm64/v8) does not match the specified platform (linux/amd64)
docker: Error response from daemon: image with reference cft0808/sansheng-demo was found but its platform (linux/arm64/v8) does not match the specified platform (linux/amd64)

Run 'docker run --help' for more information


~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions