setcap

Set capabilities of specified file. See also: tldr getcap. More information: <https://manned.org/setcap>.

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