Venky Narayanan:
Hello, In ubuntu 22 (jammy), do <http://containerd.io|containerd.io>
and runc
packages override each other? I did apt-get install runc
and apt-get install <http://containerd.io|containerd.io>
I am getting the following message that suggest this
sudo apt-get install <http://containerd.io|containerd.io>
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
runc
The following NEW packages will be installed:
<http://containerd.io|containerd.io>
0 upgraded, 1 newly installed, 1 to remove and 17 not upgraded.
Need to get 0 B/20.5 MB of archives.
Venky Narayanan:
If I don’t install runc
(even after I installed and configured <http://containerd.io|containerd.io>
my cluster kubeadm init
still looks for runc
Also, I noticed that Step 4.4 installs runc
as well https://github.com/kodekloudhub/certified-kubernetes-administrator-course/blob/master/kubeadm-clusters/apple-silicon/README.md
Alistair Mackay:
As it stands, the package containerd
installs both…
root@ubuntu-host ~ ➜ which runc
root@ubuntu-host ~ ✖ which containerd
root@ubuntu-host ~ ✖ apt update
Fetched 28.3 MB in 9s (3,189 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
69 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@ubuntu-host ~ ➜ apt install -y containerd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
runc
The following NEW packages will be installed:
containerd runc
0 upgraded, 2 newly installed, 0 to remove and 69 not upgraded.
Setting up runc (1.1.7-0ubuntu1~22.04.1) ...
Setting up containerd (1.7.2-0ubuntu1~22.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
/usr/sbin/policy-rc.d returned 101, not running 'start containerd.service'
root@ubuntu-host ~ ➜ which runc
/usr/sbin/runc
root@ubuntu-host ~ ➜ which containerd
/usr/bin/containerd