mke2fs

Creates a Linux filesystem inside a partition. More information: <https://manned.org/mke2fs>.

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