doc-exports/docs/cce/umn/cce_faq_00319.html
Dong, Qiu Jian f7b9a88535 CCE UMN update -20240625 version
Reviewed-by: Kovács, Zoltán <zkovacs@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-09-04 11:43:54 +00:00

2.2 KiB

What Can I Do If a Layer Is Missing During Image Pull?

Symptom

When containerd is used as the container engine, there is a possibility that the image layer is missing when an image is pulled to a node. As a result, the workload container fails to be created.

Possible Causes

Docker earlier than v1.10 supports the layer whose mediaType is application/octet-stream. However, containerd does not support application/octet-stream. As a result, the layer is not pulled.

Solution

You can use either of the following methods to solve this problem:

  • Use Docker v1.11 or later to repackage the image.
  • Manually pull the image.
    1. Log in to the node.
    2. Run the following command to pull the image:

      ctr -n k8s.io images pull --user u:p images

    3. Use the newly pulled image to create a workload.