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
745
votes
4 answers

What is the runtime performance cost of a Docker container?

I'd like to comprehensively understand the run-time performance cost of a Docker container. I've found references to networking anecdotally being ~100µs slower. I've also found references to the run-time cost being "negligible" and "close to zero"…
Luke Hoersten
  • 8,355
  • 3
  • 21
  • 18
18
votes
3 answers

Adding insecure registry in containerd

Trying to add insecure registry to containerd config as below: [plugins."io.containerd.grpc.v1.cri".cni] bin_dir = "/opt/cni/bin" conf_dir = "/etc/cni/net.d" max_conf_num = 1 conf_template = "" …
Sanjay M. P.
  • 919
  • 1
  • 16
  • 33
18
votes
1 answer

How to run docker images in containerd using ctr in CLI?

Am exploring on how to use containerd in place of dockerd. This is for learning only and as a cli tool rather than with any pipelines or automation. So far, documentation in regards to using containerd in cli (via ctr) is very limited. Even the…
BharathYes
  • 787
  • 2
  • 9
  • 25
13
votes
1 answer

Prune container images with just containerd (w/o Docker)

If I had just containerd installed on a Linux system (i.e. Docker is not installed), how do I remove unused container images to save disk space? Docker has that handy docker system prune command, but I can't find anything similar with ctr or 3rd…
muffel
  • 7,004
  • 8
  • 57
  • 98
11
votes
1 answer

OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown

I have read many links similar to my issue, but none of them were helping me to resolve the issue. Similar Links: Failed to exec into the container due to permission issue after executing 'systemctl daemon-reload' OCI runtime exec failed: exec…
Mostafa Ghadimi
  • 5,883
  • 8
  • 64
  • 102
10
votes
2 answers

What's the difference between pod and container from container runtime's perspective?

Kubernetes documentation describes pod as a wrapper around one or more containers. containers running inside of a pod share a set of namespaces (e.g. network) which makes me think namespaces are nested (I kind doubt that). What is the wrapper here…
gqli
  • 985
  • 3
  • 11
  • 34
9
votes
2 answers

`docker start` in parallel?

I'm spinning up 1000 containers on a single Docker network, all from the same Docker image. Currently it takes a long time to deploy. I've separated the process into docker create and docker start, as opposed to the monolithic docker run. Is there…
A T
  • 13,008
  • 21
  • 97
  • 158
8
votes
1 answer

How to delete all containers and images in containerd?

I only have containerd installed, I'm using it for my k8s container runtime. I'm trying to clean up things. What might be the equivalent of the ff docker commands in containerd: sudo docker rm -vf $(docker ps -a -q) sudo docker rmi -f $(docker…
letthefireflieslive
  • 11,493
  • 11
  • 37
  • 61
8
votes
2 answers

containerd error "failed to find user by uid" when creating ejbca docker container on azure

When I try to create an Azure container instance for EJBCA-ce I get an error and cannot see any logs. I expect the following result : But I get the following error : Failed to start container my-azure-container-resource-name, Error response: to…
Marc Bouvier
  • 642
  • 1
  • 11
  • 27
7
votes
1 answer

What process is the parent process of containerd-shim?

I setup 2 k8s environments with minikube. One with the --container-runtime=docker flag and one with --container-runtime=containerd flag. Here are the differences I see. When I set container-runtime=docker , these things happen there is a dockerd…
Hari Sundararajan
  • 608
  • 2
  • 8
  • 18
7
votes
1 answer

Kubernetes: Increase the size of OverlayFS / containerd runtime volumes in K3s

I have a lightweight Kubernetes cluster deployed with Rancher's K3s. Most of the time pods runs fine in it, however I noticed that from time to time it runs into NodeDiskPressure, which causes existing Pods to be evicted. Looking into the available…
born to hula
  • 1,274
  • 5
  • 18
  • 36
7
votes
2 answers

Running docker inside Kubernetes with containerd

Since K8S v1.11 Runtime was changed from dockerd to containerd. I'm using Jenkins over kubernetes to build docker images using Docker outside of Docker (dood). When I tried to switch to use the socket file from conatinerd (containerd/containerd.sock…
Yuri Ritvin
  • 343
  • 2
  • 9
6
votes
2 answers

Is it possible to run containers with port forwarding using ctr command?

I'm currently using containerd to run my application container for testing, but having a problem with networking. I need to send some requests to port 5000 of my application container though there's no description on ctr manual about running a…
Daigo
  • 815
  • 1
  • 5
  • 16
5
votes
0 answers

CRI v1 runtime API is not implemented for endpoint

whenever i am doing kubeadm init following error displayed can anyone help me here what i can do for this [init] Using Kubernetes version: v1.26.1 [preflight] Running pre-flight checks [WARNING Swap]: swap is enabled; production deployments…
5
votes
0 answers

Containerd ctr command for pulling images gives error

I am new to containerd and I am trying to run the windows containers using containerd. After installing containerd, I just tried to pull the image from registry and I got below issue. The issue i am getting is from the container runtime…
Vignesh
  • 101
  • 1
  • 7
1
2 3
18 19