Questions tagged [runc]

For questions relating to the runC command-line tool.

Official page: https://runc.io/

63 questions
76
votes
3 answers

How containerd compares to runc

How do these two compare? As far as I understand, runc is a runtime environment for containers. That means that this component provides the necessary environment to run containers. What is the role of containerd then? If it does the rest…
Dima Knivets
  • 2,418
  • 7
  • 28
  • 40
15
votes
2 answers

libcontainer vs Docker vs OCF vs runc?

I'm trying to understand the Docker world a little better, and can't quite seem to wrap my brain around the differences between these. I believe that OCF is an emerging container standard being endorsed by OpenContainers, and I believe that Docker…
smeeb
  • 27,777
  • 57
  • 250
  • 447
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
9
votes
2 answers

Runc PGP Signature Issue

During the installation of docker on Archlinux, I got the following error : error: runc: signature from "Frederik Schwan " is unknown trust :: File /var/cache/pacman/pkg/runc-1.0.3-1-x86_64.pkg.tar.zst is corrupted…
ntdash
  • 103
  • 1
  • 2
  • 7
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
6
votes
1 answer

Building / Installing podman as non-root

From what I've read it seems to be the answer to everything that ails docker. Images in user directory, containers with only user permissions, no daemon, etc. Yet every guide to installing seems to rely on the system's package manager, and the…
SourceSimian
  • 682
  • 4
  • 18
4
votes
1 answer

How to list docker containers using runc

From what I can tell runc list allows to pass a root directory for container storage. But I can't figure out what root directory to pass for docker. I tried /var/lib/docker/containers but it says container don't exist. I do have containers showing…
Sam Thomas
  • 647
  • 7
  • 25
4
votes
1 answer

Why Docker build need to use /dev/shm?

I noticed the command docker build has a parameter --shm-size bytes which uses to set the size of /dev/shm. But I don't know why the docker build needs to use the shared memory. The docker build command just follows the Dockerfile and run a set of…
Zhi
  • 61
  • 3
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
3
votes
1 answer

Network-packets buffering in kernel qdiscs module

I want to buffer output packets originating from a container's network interface. This netlink library file named sch_plug.c https://code.woboq.org/linux/linux/net/sched/sch_plug.c.html looks like it can solve the problem but i'm finding it hard to…
3
votes
1 answer

Where does libcontainer stand in docker stack?

The typical docker container stack known to me is docker(client) -> dockerd -> containerd -> runC. Then you also hear about libcontainer. I am wondering where libcontainer fits in the above stack and what is it role/purpose.
samshers
  • 1
  • 6
  • 37
  • 84
3
votes
1 answer

What is the equivalent part for Linux docker Runc on the Windows docker?

Forgive me I just began to learn to understand Docker. As I knew , Docker used to depend on the LXC. then go to the libcontainer .Now it is Runc(from docker 1.11). which is the implement of OCF(Open Container Format). And also I knew Runc can only…
Joe.wang
  • 11,537
  • 25
  • 103
  • 180
3
votes
1 answer

Error building runc from source

I have problem installing runc from source: root@ubuntu:/usr/local/go/bin/src/github.com/opencontainers/runc# make go build -tags "seccomp" -o runc . #…
Walid Hanafy
  • 1,429
  • 2
  • 14
  • 26
2
votes
1 answer

How do I identify if a runc container is running as privileged?

Regardless of docker/crio/containerd starting the container, is there a way to understand if the runc container is running as privileged one? docker inspect does show privilegedness but I want to find out at the runc layer.
Sam Thomas
  • 647
  • 7
  • 25
1
2 3 4 5