Containerd: ctr: no match for platform in manifest sha256:xxx: not found

Created on 13 Mar 2021  ·  4Comments  ·  Source: containerd/containerd

Description
On widnows 10 pro.

PS G:\Downloads\containerd> .\ctr.exe i pull docker.io/library/alpine:latest
docker.io/library/alpine:latest:                                               resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be: exists         |++++++++++++++++++++++++++++++++++++++|
elapsed: 3.9 s                                                                 total:   0.0 B (0.0 B/s)                 
unpacking windows/amd64 sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be...
ctr: no match for platform in manifest sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be: not found
PS G:\Downloads\containerd>

Steps to reproduce the issue:

  1. download 1.4.4
  2. start containerd
  3. run the previous command

Describe the results you received:

Describe the results you expected:

What version of containerd are you using:

$ containerd --version
containerd github.com/containerd/containerd v1.4.4 05f951a3781f4f2c1911b05e61c160e9c30eaa8e

Any other relevant information (runC version, CRI configuration, OS/Kernel version, etc.):

runc --version

$ runc --version

crictl info

$ crictl info

uname -a

$ uname -a

kinquestion

Most helpful comment

谢谢兄弟! 我再研究研究~ BTW, 我也在北京,看到这么有前途的项目有咱自己的兄弟参与,很是开心 ~

@cnhuye you can run the docker run -it --rm busybox uname -a to check the result~. I don't have windows env actually. But I think it is the same to the docker-on-mac which running in hyper(https://github.com/moby/hyperkit).

All 4 comments

Hello, the https://hub.docker.com/_/alpine doesn't support window platform. The result is expected. Please checkout the https://github.com/docker-library/official-images#architectures-other-than-amd64. Thanks for reporting.

Thanks very much!
I'm not familiar with containd, but I want wrap contanind in a windows EXE application.
I tried docker-ce on same win10 machine, for the same image(alpine), it works fine.
What should I do to make containerd works like docker-ce ?
Any docs for that ?
Hope give a little points, thinks !

Hello, the https://hub.docker.com/_/alpine doesn't support window platform. The result is expected. Please checkout the https://github.com/docker-library/official-images#architectures-other-than-amd64. Thanks for reporting.

@cnhuye you can run the docker run -it --rm busybox uname -a to check the result~. I don't have windows env actually. But I think it is the same to the docker-on-mac which running in hyper(https://github.com/moby/hyperkit).

谢谢兄弟! 我再研究研究~ BTW, 我也在北京,看到这么有前途的项目有咱自己的兄弟参与,很是开心 ~

@cnhuye you can run the docker run -it --rm busybox uname -a to check the result~. I don't have windows env actually. But I think it is the same to the docker-on-mac which running in hyper(https://github.com/moby/hyperkit).

Was this page helpful?
0 / 5 - 0 ratings