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
4
votes
1 answer

Can docker and cricontainerd co exist

I have a node which has both docker and cri-containerd installed. When I do docker ps nothing gets listed where as crictl ps lists some containers. Could any one explain in detail how these commands differ. I have ctr installed as well. ctr…
ambikanair
  • 4,004
  • 11
  • 43
  • 83
3
votes
1 answer

Latest docker (containerd) updates break everything and all container stopped

All my docker instances are not working anymore because the following error message appears right after the latest containerd updates: Feb 4 14:16:19 ngs-he-site-03 dockerd[830]: time="2023-02-04T14:16:19.524452673Z" level=error msg="failed to…
Eric
  • 115
  • 1
  • 10
3
votes
1 answer

Failed to validate kubelet flags: the container runtime endpoint address was not specified or empty, use --container-runtime-endpoint to set

I am trying to set up a Kubernetes master node. Every time I try to start kubelet I am getting the error message: command failed" err="failed to validate kubelet flags: the container runtime endpoint address was not specified or empty, use…
3
votes
2 answers

How to skip TLS cert check for crictl (containerd CR) while pulling the images from private repository

I have installed k8s 1.24 version and containerd (containerd://1.5.9) is the CR for my setup (ubuntu 20.04). I have also installed docker on my VM and have added my private repository under /etc/docker/daemon.json with the following changes: { …
3
votes
0 answers

How to configure Kubernetes "docker on docker" using containerd on Azure

We need to migrate a configuration from Google Cloud Platform to Azure. In GCP, we have Jenkins running in Kubernetes. The Kubernetes worker nodes run on Container-Optimized OS with containerd. This allows us to use the Docker daemon running on the…
Emil Salageanu
  • 997
  • 1
  • 10
  • 24
3
votes
4 answers

How to pull docker image from a insecure private registry with latest Kubernetes

I am trying to create a k8s pod with a docker container image from a private insecure registry. With the latest K8s, I get ErrImagePull as it complains of http vs https for the insecure registry. Type Reason Age From …
UbflPM
  • 31
  • 1
  • 3
3
votes
1 answer

Containerd port mapping from host to container

I am new to containerd and trying to run a simple application with Containerd. I am using ctr to access images, containers and tasks. In case of a Docker I used to give command as docker run -p 8085:8085 imageId:version This mapped my host to the…
Manzoor
  • 111
  • 5
3
votes
2 answers

How to delete container use containerd ctr?

I use sudo ctr container run ... to run a container. But there are something wrong with the process in my container. So I suppose that there is no task is running. I use sudo ctr task ls, it shows, TASK PID STATUS test 0 …
si yan
  • 343
  • 1
  • 13
3
votes
2 answers

How to retrieve the pod/container in which run a given process

Using crictl an containerd, is there an easy way to find to which pod/container belongs a given process, using it's PID` on the host machine? For example, how can I retrieve the name of the pod which runs the process below…
Fabrice Jammes
  • 2,275
  • 1
  • 26
  • 39
3
votes
0 answers

Container fails to download gradle

My host machine is a Windows 11 with WSL2. I installed Rancher Desktop v0.7.1 With the containerd(nerdctl(v 0.15.0)) option and Kubernetes v1.23.1(latest) Then I tried to build the following Dockerfile # syntax=docker/dockerfile:experimental #FROM…
saavedrah
  • 183
  • 14
3
votes
5 answers

Not able to exec into container

I am not able to exec into container which uses containerd as runtime. I need to check some processes running inside the container. Is there any way to exec into container? I am able to list containers using ctr cli. Any help would be appreciated.
Snehal Hodage
  • 61
  • 2
  • 5
3
votes
2 answers

Importing images with CTR fails silently

I exported docker images in .tar format. Then importing those images using K3S and ctr showed no results : $ sudo k3s ctr i import myimage.tar $ No output from import cmd ? $ sudo k3s ctr i ls $ Nothing there....
Doctor
  • 7,115
  • 4
  • 37
  • 55
3
votes
1 answer

Where do the log files live in a K8s cluster using the Containerd runtime?

I'm using the AKS cluster with version 1.19, and I found that this version of K8s using Containerd instead of Dockershim as the container runtime. I also use Fluentd to collect logs from my spring apps, with k8s version 1.18 it works okay, but with…
Nam Nguyen
  • 125
  • 2
  • 8
3
votes
0 answers

Microk8s ImagePullBackOff cannot be fixed by modifying the config

I have installed a microk8s to ubuntu (arm64 bit version), I would like to access my local image registry provided by the microk8s enable registry. But I get a ImagePullBackOff error, I have tried to modify…
Dániel Kis
  • 2,341
  • 5
  • 28
  • 51
3
votes
2 answers

Kubernetes containerd - failed to pull image from private registry

I setup kubernetes V1.20.1 with containerd instead of Docker. Now I failed to pull Docker images from my private registry (Harbor). I already changed the /etc/containerd/config.toml like this: [plugins."io.containerd.grpc.v1.cri".registry] …
Ralph
  • 4,500
  • 9
  • 48
  • 87
1 2
3
18 19