Questions tagged [containerd]
46 questions
9
votes
6 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
- 263
6
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
- 199
6
votes
4 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
5
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
- 91
4
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
- 143
4
votes
1 answer
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
- 161
3
votes
2 answers
What linux name and version will I see in a container?
I execute cat /etc/os-release in a container.
I have an Ubuntu 22.04 docker host. When I run a container, and see the linux os-release file inside the container, I see my Ubuntu name, regardless in which container I execute it...
However I also have…
g.pickardou
- 263
2
votes
1 answer
no connection and cgroup error on standalone kubelet with containerd on ubuntu
I am trying to setup kubelet component as standalone service from kubernetes page, though it seems I am missing something.
I've configured the containerd + runc (according to steps) with:
$ mkdir -p /etc/containerd/
$ containerd config default | tee…
Robson Jr
- 51
2
votes
1 answer
Is there a way to use Docker inside of a Pod in a Kubernetes cluster with containerd on the nodes
I have a Kubernetes cluster running with containerd on the nodes. I don't have the ability to install things on the nodes.
My task now is to deploy a pod which can use docker commands inside, for examle a docker pull or push. So docker should work…
Tamino Elgert
- 143
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
- 393
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,215
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
- 311
2
votes
2 answers
Force kubernetes to use containerd when docker is installed
I have Kubernetes nodes with both docker and containerd installed.
I need docker on the node to run CI pipelines and builds.
How can I make Kubernetes use the recommended containerd instead of docker?
Existing documentation recommands to remove…
Congelli501
- 182
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
- 547
1
vote
0 answers
microk8s pods not starting, containerd possible conflict
a few days ago I had to install microk8s to try out a project, all seems great and stuff but pods never start.. and I wonder why, here is what I found so far:
I use ubuntu 22.04 LTS, previously I had docker and minikube installed and working on this…
gai-jin
- 133