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

Execute command as another user in container using containerd's ctr

I've installed microk8s on Ubuntu to have a simple Kubernetes cluster for test purposes. I have a usecase where I have to execute a command in a container (in a kubernetes pod) with another user than the one which is used to run the container. Since…
buderu
  • 415
  • 7
  • 16
5
votes
3 answers

Is it possible to set microk8s to use docker engine instead of containerd?

First of all, I am not an expert in container orchestration tools. I've just installed microk8s according to the guide: https://microk8s.io/docs/ And if I run microk8s kubectl get nodes, I see, that my node is actually running containerd engine. My…
Vololodymyr
  • 1,996
  • 5
  • 26
  • 45
4
votes
1 answer

Injecting a mount into a disjoint mount namespace behind a private mount propagation?

As part of some work I'm doing on container diagnostics tooling for Linux container systems like docker and containerd/runc, I've been looking for a way to inject or bind a mount from one mount namespace into another disjoint mount…
Craig Ringer
  • 307,061
  • 76
  • 688
  • 778
4
votes
2 answers

How to pull image from a private repository using containerd?

How to pull images from a private repository using containerd? I using the below containerd command to pull an image from a private repository, but it's failing with the below error message. sudo crictl pull qtech/graphql:latest FATA[0002] pulling…
devops-admin
  • 1,447
  • 1
  • 15
  • 26
4
votes
2 answers

NerdCTL will not use local image when building

I am trying to build a common base image, that many of my other images will use. But Nerdctl/Containerd doesn't seem to check for the image locally first. Reproduced with the simple example # Dockerfile.base FROM python:3 # Dockerfile.child From…
Matt Ruge
  • 191
  • 1
  • 2
  • 8
4
votes
2 answers

Where is logs files of containerd?

I am using crictl pull to pull images, but it hangs at PullImageRequest. I want to know what is happenning, so Where is logs files of containerd, not logs of containers running but logs of containerd itself
User007
  • 771
  • 1
  • 8
  • 12
4
votes
0 answers

How show containerd logs for stopped containers

How get logs for stopped containers like in docker but with containerd? I see in /var/log/pods/ only current running containers logs
ijj
  • 189
  • 1
  • 11
4
votes
2 answers

what should be used instead of 'host.docker.internal' when using nerdctl in place of docker?

When using docker desktop, we would connect to the host machine from the container using the URL 'host.docker.internal'. however container is not able to connect to the host machine (i.e my machine) when I am using nerdctl instead of docker. I…
Akshay Vijay Jain
  • 13,461
  • 8
  • 60
  • 73
4
votes
1 answer

What does it mean that Kubernetes removed support for Docker but supports containerd (which is part of Docker)?

What does it mean that Kubernetes removed support for Docker but supports containerd. Docker developed containerd and uses it for managing containers. Are there 2 different containerd? one that is supported by kubernetes another one which is used…
4
votes
2 answers

How to ssh into kind cluster nodes with containerd runtime?

I have created a Kind cluster with containerd runtime. Here is my node: root@dev-001:~# k get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION …
deepak
  • 1,081
  • 12
  • 18
4
votes
1 answer

How to stop container in containerd/ctr

What is the equivalent of docker stop [containerID] using ctr? I can't seem to find it via contianer option or I am missing some ctr concepts...
letthefireflieslive
  • 11,493
  • 11
  • 37
  • 61
4
votes
2 answers

docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed

I have an error when trying to install Docker on Debian 10 (Buster) The following packages have unmet dependencies: docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed E: Unable to correct problems, you have held…
Hugo Sohm
  • 2,872
  • 4
  • 23
  • 40
4
votes
1 answer

Can I have extra slash "/" in Docker (and Containerd) image name?

I need to copy images from Docker Hub into a private registry. For example, I need redislabs/rebloom:2.2.2. Then, can I name it my-private-registry.com/my-organization/redislabs/rebloom:2.2.2? (Notice there is my-organization which I cannot…
ch271828n
  • 15,854
  • 5
  • 53
  • 88
4
votes
0 answers

Looking for an explanation about containerd-shim/runc child processes

We are using docker within a swarm environnement. Everything is fine... but for a strange process named "exe" that appeared, a few days ago : 14126 root 20 0 446836 33648 184 R 49.0 0.2 0:05.98 exe 1 root 20 0 52356 …
Marvin
  • 1,650
  • 4
  • 19
  • 41
4
votes
1 answer

runc and ctr commands do not show docker images and containers

I have multiple Docker images and containers running on a VM. But commands like "runc list" doesn't list any of these. How can I make runc/containerd aware of my existing docker images?
Paddy
  • 609
  • 7
  • 25
1
2
3
18 19