Welcome to the Linux Foundation Forum!

Lab 3.2 Grow the Cluster. Task #4 Install containerd. Using sudo as root

Options

Why are we to use sudo for these steps when we are already root?

Install the containerd engine, starting with dependent software.
root@worker: ̃# sudo apt install curl apt-transport-https vim git wget \software-properties-common lsb-release ca-certificates -y
root@worker: ̃# sudo swapoff -a
root@worker: ̃# sudo modprobe overlay
root@worker: ̃# sudo modprobe br_netfilte

Comments

  • chrispokorni
    chrispokorni Posts: 2,185
    Options

    Hi @mlh,

    You are correct, there is no need for sudo when the user is root.

    Regards,
    -Chris

Categories

Upcoming Training