mkfs.btrfs

Create a btrfs filesystem. Defaults to raid1, which specifies 2 copies of a given data block spread across 2 different devices. More information: <https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html>.

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