systemd-detect-virt --version (return code: 0)
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN
systemd-detect-virt --help (return code: 0)
systemd-detect-virt [OPTIONS...]
Detect execution in a virtualized environment.
-h --help Show this help
--version Show package version
-c --container Only detect whether we are run in a container
-v --vm Only detect whether we are run in a VM
-r --chroot Detect whether we are run in a chroot() environment
-q --quiet Don't output anything, just set return value