sudo

Executes a single command as the superuser or another user. More information: <https://www.sudo.ws/sudo.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y sudo
Ubuntu
RUN apt-get update && \ apt-get install -y sudo
Alpine
RUN apk add sudo
Arch Arch Linux
RUN pacman -S --noconfirm sudo
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y sudo
CentOS
RUN yum install -y sudo
Fedora
RUN dnf install -y sudo
Raspbian
RUN apt-get update && \ apt-get install -y sudo
click the source code to copy install sudo on any operating system with command-not-found.com