Questions tagged [containerd]

25 questions
6
votes
3 answers

package docker-ce requires containerd.io >= 1.4.1, but none of the providers can be installed

I had this problem this morning for both update / upgrade on red hat (Linux 4.18.0-240.1.1.el8_3.x86_64), not sure what to do. Sounds like yum is completely stuck because of this. $ sudo yum update Updating Subscription Management repositories. Last…
martin
  • 163
  • 1
  • 4
3
votes
1 answer

How do you login to docker hub when using containerd?

With docker I would run docker login, but how do you do similar with ctr/containerd? We need to login due to hitting rate limits: ctr: failed to copy: httpReaderSeeker: failed open: unexpected status code…
Jethro
  • 149
  • 1
  • 7
3
votes
3 answers

containerd 1.4.9 Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService

I have installed containerd 1.4.9 on CentOS steam 8 server. based on this document https://containerd.io/docs/getting-started/. I have created default config file containerd config default > /etc/containerd/config.toml like this. after restarting…
sfgroups
  • 193
  • 3
  • 13
2
votes
1 answer

Pod is stuck in PodInitializing status when an initContainer is OOMKilled

I have the following on-prem Kubernetes environment: OS: Red Hat Enterprise Linux release 8.6 (Ootpa) Kubernetes: 1.23.7 (single-node, build with kubeadm) NVIDIA driver: 515.65.01 nvidia-container-toolkit: 1.10.0-1.x86_64 (rpm) containerd:…
Daigo
  • 278
  • 1
  • 17
2
votes
2 answers

Kubeadm 1.24 with containerd. Kubeadm init fail (centos 7)

I try to install a single node cluster on centos 7, with kubadm 1.24 and with containerd, i followed the installation steps, and i did: containerd config default > /etc/containerd/config.toml and passed : SystemdCgroup = true but the kubeadm init…
awot83
  • 31
  • 1
  • 5
2
votes
1 answer

How to start containerd as a service after yum install?

I installed containerd on Amazon Linux 2 using the suggested commands: sudo amazon-linux-extras enable docker sudo yum install -y containerd I added this in the EC2 user data script to run at instance launch time. But, how am I supposed to start…
Jonas
  • 1,147
  • 5
  • 17
  • 31
2
votes
1 answer

Warnings in kubeadm after migrating from docker to containerd

I run a kubernetes cluster, installed with kubeadm. I recently upgraded from 1.19 to 1.20 and migrated the container runtime from docker to containerd, since docker is now deprecated. I configured containerd and kubelet to use it, and uninstalled…
Antoine
  • 281
  • 3
  • 8
2
votes
2 answers

Shutdown all docker containers

I just discovered that service docker stop on Ubuntu 18.04 doesn't shutdown all running containers. I can't control them anymore but the containerd-ship processes and everything that's inside the containers is still running (but not reachable…
Daniel Alder
  • 533
  • 1
  • 8
  • 19
1
vote
0 answers

What path on disk does a containerd snapshot key map to?

I want to remove a snapshot from a node in our Kubernates cluster: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/NNNN But I am unable to map this path to any snapshots as reported by ctr -n k8s.io snapshots list. I have tried…
Gunnar
  • 131
  • 1
1
vote
1 answer

Offline installation of kubernetes fails when using containerd as a CRI

I had to build a bare-metal Kubernetes cluster with no Internet connection for some reason. As dockershim was deprecated, I decided to use containerd as a CRI, but the offline installation with kubeadm failed while executing kubeadm init due to…
Daigo
  • 278
  • 1
  • 17
1
vote
0 answers

The `containerd` daemon fails to start due to IO error (and subsequent segfault)

Running on Manjaro Linux, kernel 5.13. After system update, containerd service fails to start and segfaults after it cannot run garbage collection. Logs are attached on Pastebin. After short investigation, I found out that problem is that contained…
k.meinkopf
  • 11
  • 1
1
vote
1 answer

Free up space on K3s cluster

I have a K3s single-node cluster running with Containerd and where I'm reaching the space disk limit. It seems I have some old unused docker images on the machine. How can I cleanup those in order to free up the disk ? Thanks EDIT After further…
iAmoric
  • 121
  • 4
0
votes
1 answer

All kube-system pods keep crashing, etcd receives sigterm

I'm trying to set up an on-premises Kubernetes cluster. For starters I used kubeadm to initialize my control plane on one node. But all kube-system pods constantly crash. I took a deep look into the pod logs via crictl and it turns out that most…
Be Ku
  • 101
0
votes
1 answer

Kubernetes pull from image private network / fails to respect /etc/hosts of server

(Reposted from original post at: https://stackoverflow.com/questions/73012913/kubernetes-pull-from-image-private-network-fails-to-respect-etc-hosts-of-serv as this is a more appropriate place to ask the question) I am running a small 3 node test…
Aaron Murray
  • 139
  • 8
0
votes
0 answers

How to run a container with a specific uid and gid using ctr?

To run a container with uid:123 and gid:123, I've tried running a container using the following command: ctr run --rm --uidmap 123:123:999 --gidmap 123:123:999 docker.io/library/test:1.0 test However, I had the following error and the container…
Daigo
  • 278
  • 1
  • 17
1
2