Skip to content

Failed to create container when containerd uses relative directories #6671

@linxiulei

Description

@linxiulei

Description

ctr reports error ctr: failed to mount /tmp/containerd-mount410218473: no such file or directory when containerd is started with relative directories

Steps to reproduce the issue

  1. containerd --root ./root
  2. ctr -- run --rm docker.io/library/busybox:latest new echo 123

ctr: failed to mount /tmp/containerd-mount410218473: no such file or directory

Describe the results you received and expected

The container is created successfully.

What version of containerd are you using?

containerd github.com/containerd/containerd v1.6.1 10f428d

Any other relevant information

No response

Show configuration if it is related to CRI plugin.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions