virt-who

subscription-manager

CentOS
RUN yum install -y virt-who
Fedora
RUN dnf install -y virt-who
click the source code to copy install virt-who on any operating system with command-not-found.com