Questions tagged [containerd]

An industry-standard container runtime with an emphasis on simplicity, robustness and portability. It is available as a daemon for Linux and Windows.

containerd is an industry-standard container runtime with an emphasis on simplicity, robustness and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system: image transfer and storage, container execution and supervision, low-level storage and network attachments, etc.

Useful links:

286 questions
3
votes
1 answer

What is the equivalent of docker volumes in containerd?

In Docker, we can configure persistent storage via volumes. In Docker cli, we use "docker volume": $ docker volume --help Usage: docker volume COMMAND Manage volumes Commands: create Create a volume inspect Display detailed…
mmking
  • 1,564
  • 4
  • 26
  • 36
3
votes
1 answer

Container abruptly killed with warning "cleaning up after killed shim"

We have recently upgraded from docker version 17.06.0-ce to 18.09.2 on our deployment environment. Experienced container got killed suddenly after running for few days without much information in docker logs. Monitored the memory usage, and the…
3
votes
1 answer

How can I share my docker images with Conatinerd runtime?

I used to work with docker images and now I am trying to run containers using containerd runtime. So, I want to share my prebuilt docker images with ctr, Is that possible ? How can I do that please ?
Saida Meftah
  • 41
  • 1
  • 3
3
votes
1 answer

Where does libcontainer stand in docker stack?

The typical docker container stack known to me is docker(client) -> dockerd -> containerd -> runC. Then you also hear about libcontainer. I am wondering where libcontainer fits in the above stack and what is it role/purpose.
samshers
  • 1
  • 6
  • 37
  • 84
3
votes
1 answer

Pull images from local (insecure) registry on kind cluster

I have been trying to use some custom, local built image on my kind cluster by following the instructions on https://kind.sigs.k8s.io/docs/user/local-registry - i.e. applying the following containerdConfigPatches to my…
Alfageme
  • 2,075
  • 1
  • 23
  • 30
3
votes
1 answer

How container processes are attached to containerd-shim in docker

When I execute a task within a container using docker exec, the newly spawned process is attached to containerd-shim with the other processes of this container which is the expected behavior. But I don’t understand in detail how the newly spawned…
Maxime B.
  • 1,116
  • 8
  • 21
3
votes
1 answer

Kubernetes nginx ingress unexpected error storing fake SSL Cert: could not create PEM certificate file

I have installed nignx ingress helm chat on CentOS 8 Kubernetes 1.17 with containerd, ingress pod failed with below error message. Same helm chat worked on CentOS 7 with Docker. I0116 04:17:06.624547 8 flags.go:205] Watching for Ingress class:…
sfgroups
  • 18,151
  • 28
  • 132
  • 204
3
votes
1 answer

k3s ctr images import to different dir

I am having tar of my service specific images. I am importing it in containerd so that it will be used by k3s to deploy PODs. command used to import image's tar is- k3s ctr images import XXX.tar By default it loads images in /var/lib/rancher/data…
Yogesh Jilhawar
  • 5,605
  • 8
  • 44
  • 59
3
votes
0 answers

When and Why should I care about different Container Runtimes?

I am trying to understand when someone should really care about the different containerRuntimes available like docker, containerd, rkt. I know there will be different reasons like security concerns, performace etc. Can anyone elaborate all the…
2
votes
1 answer

containerd - cannot update memory of a running container lower than its current memory

I am using 'crictl' tool to work with containerd runtime containers (under kubernetes) in a managed cluster. I'm trying to set the memory limit (in bytes) to 16MB with the command: crictl -r unix:///run/containerd/containerd.sock update --memory…
Scorpicos
  • 23
  • 3
2
votes
0 answers

Use the k3s and ctr commands to import the image, but the image cannot be found by using crictl

I am using ctr commands to import the image ctr -n k8s.io images import alpine-3.15.tar --platform linux/amd64 and I am using crictl to view the images crictl images My question is why there is no alpine image? If I run ctr view images ctr -n…
ZonzeeLi
  • 21
  • 1
2
votes
1 answer

Can nerdctl/crictl be used to list containers started by docker

I'm using version 20.10.21 of docker, in my understanding docker with this version uses containerd to manage image and container lifecycle, but why cannot I use crictl/nerdctl to list the containers which I started by docker cli? What I've…
shizhz
  • 11,715
  • 3
  • 39
  • 49
2
votes
1 answer

How to move a containerd image to different namespace?

I'm setting up a Kubernetes cluster with windows nodes. I accidentally created a local image in the default namespace. As shown by ctr image ls, my image is in the default namespace: REF TYPE …
Tim Wißmann
  • 647
  • 6
  • 18
2
votes
1 answer

How to set proxy credentials for Rancher Desktop

I have installed Rancher Desktop. It is working perfectly except for the inability for nerdctl and k3s to download docker images from hub.docker.com from behind my corporate firewall. Question 1: After downloading Rancher Desktop, how do I set my…
Jerrod Horton
  • 1,605
  • 1
  • 15
  • 30
2
votes
3 answers

containerd multiline logs parsing with fluentbit

After shifting from Docker to containerd as docker engine used by our kubernetes, we are not able to show the multiline logs in a proper way by our visualization app (Grafana) as some details prepended to the container/pod logs by the containerd…
k.elgohary
  • 403
  • 8
  • 21