Can't Find runc but Docker Works Fine

I followed the official instructions to install Docker Desktop on Ubuntu, and everything works great. However, I cannot find runc, despite the fact that docker system info reports it as my default runtime. How do I locate the instance of runc that Docker is using?

~: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 25.04
Release:        25.04
Codename:       plucky
~: docker -v
Docker version 28.3.1, build 38b7060

It is in the virtual machine of Docker Desktop as almost everything else.

Ah, thank you, that is very helpful. How do I locate/access the instance of runc in the virtual machine of Docker Desktop?

Why would you access it in the first place? :slight_smile: Docker Desktop is supposed to be a closed environment that you are using through the docker cli and the GUI. Reconfiguring runc or anything in it that is not made available from the outside is not recommended.

If you are just curious, you can run

docker run --rm -it --privileged --pid host ubuntu nsenter -t --all 1 sh

Then you will have a terminal inside the system container that runs the Docker daemon and you can find runc as well.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.