pvcreate

Initialize a disk or partition for use as a physical volume. See also: lvm. More information: <https://man7.org/linux/man-pages/man8/pvcreate.8.html>.

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