Questions tagged [containerd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
2 answers
28k views

how to check running containers with containerd

I've switched to containerd in a k8s cluster. There's 2 pods running on one node, 2 github runners. I used to check on a host what containers were running with "docker container ls" but how ...
2 votes
1 answer
3k views

containerd: Unable to overwrite sandbox image

System Ubuntu 22.04.01 kubeadm v1.25.4 containerd 1.6.10 Description I'm trying to setup k8s 1.25.4 with a private docker repository and the containerd runtime. I followed the docs to overwrite the ...
4 votes
1 answer
1k views

How to configure registries.yaml to point to several Harbor proxy cache registry?

I have configured a Harbor (with SSL and FQDN: harbor.example.com) as a proxy cache for several docker registries (docker.io, quay.io and k8s.gcr.io). I can pull any images without any problem from ...
0 votes
0 answers
19 views

how to detect the pause image load address when change kubernetes containerd config

I am trying to override the kubernetes system default kubernetes pause image address with file /etc/containerd/config.toml like this: [plugins."io.containerd.grpc.v1.cri"] sandbox_image = &...
1 vote
1 answer
559 views

why the crictl command did not list the images

when I tried to use crictl to list all images like this in Debian 12: root@k8sslave01:/etc# crictl images IMAGE TAG IMAGE ID SIZE did not show any images. the ...
0 votes
0 answers
438 views

is it possible to pull from private repo when using crictl

when I use crictl crictl version 1.20.0-24-g53ad8bb7 to pull some private repo: [root@k8smasterone ~]# crictl pull registry.cn-shanghai.aliyuncs.com/reddwarf-pro/dolphin-post:...
0 votes
0 answers
43 views

containerd to graylog

I was using /etc/docker/daemon.json to easily configure logs from containers to be sent via UDP to a remote Graylog server and it worked fine. It's easily achievable with the following config in ...
0 votes
1 answer
113 views

kubernetes access nodeport fails, master cannot reach workers

I've got an on premise kubernetes cluster with a NodePort service running on port 32001. But in 80% of the cases requests fail: curl localhost:32001 times out and sometimes it works, results are ...
-1 votes
1 answer
29 views

Docker on Centos 7 - "unkown flag: --ip-forward"

I've installed docker on Centos 7 from the official docker-ce repository (followed instructions here). I'm seeing the following error when trying to start the docker service with systemctl start ...
0 votes
0 answers
11 views

I’m facing drastic slowness in my web Appa running on containerd and kubernetes vs docker

I’m using containerd runtime for kubernetes ….I tried without setting resource limit and with limit 10 cores and 4Gi RAM When I compare the performance in the same node, same container in docker vs ...
0 votes
0 answers
51 views

Running DinD or similar setup in k8s 1.24+ for unit tests during CI flow

Recently, we switched from Jenkins CI to GitLab-CI on K8s 1.24 with containerd. The Java applications we have contains unit tests / integration tests which would spin up some containers (for the likes ...
2 votes
0 answers
231 views

How to run nerdctl run inside a container?

This is not for building inside a container, this is for running containerized CLI tools in a Job. I know the security implications. This is a lateral move security wise from DooD just to get us to ...
0 votes
0 answers
295 views

Kubernetes cluster on Raspberry Pi stops working 5 minutes after init

I had set up a Kubernetes cluster on four Raspberry Pis for toy projects awhile back, and I originally set things up using Docker. But ever since Kubernetes decided to drop support for Docker I ...
0 votes
0 answers
135 views

Sharing the containers and images between ctr and docker

The running container displayed in output of docker ps -a could be seen in the output of ctr -n moby container ls. This container was created by the docker engine and one can view it in the same ...
0 votes
1 answer
178 views

Migrating from dockershim to containerd - kubectl continues to show docker runtime

Following directions from here. End goal is upgrading cluster to 1.24 and beyond. At the end when I run kubectl get nodes -o wide seems like I would see 'containerd' as the runtime (link) but instead ...
1 vote
2 answers
753 views

Running builds requiring docker daemon in Jenkins installed using helm and running as containerd container

Jenkins is installed using official helm chart on Kubernetes cluster that uses containerd as container runtime. How to configure containerized agents which will run docker client commands e.g. for ...
3 votes
2 answers
6k views

Can not authenticate to DockerHub docker.io with ctr; works fine with crictl

Authentication works on crictl, when I use --creds $ sudo crictl pull --creds "evancarroll:$TOKEN" docker.io/alpine:3 But when I try the same command ctr, I get an error: $ sudo ctr images ...
0 votes
1 answer
876 views

Does /etc/rancher/k3s/registries.yaml affect `k3s ctr` and `k3s crictl`?

k3s ctr launches the contianerd CLI, and k3s crictl is the CRI cli. I'm told you configure k3s authentication to the image registries using /etc/rancher/k3s/registries.yaml. Does this yaml file ...