The following options are understood:
Only detects container virtualization (i.e. shared kernel
Only detects hardware virtualization).
Detect whether invoked in a chroot(2) environment. In this mode,
no output is written, but the return value indicates whether the
process was invoked in a chroot() environment or not.
Detect whether invoked in a user namespace. In this mode, no
output is written, but the return value indicates whether the
process was invoked inside of a user namespace or not. See
user_namespaces(7) for more information.
Suppress output of the virtualization technology identifier.
Print a short help text and exit.
Print a short version string and exit.
This page is part of the systemd (systemd system and service manager)
project. Information about the project can be found at
⟨http://www.freedesktop.org/wiki/Software/systemd⟩. If you have a bug
report for this manual page, see
page was obtained from the project's upstream Git repository
⟨https://github.com/systemd/systemd.git⟩ on 2017-03-13. If you dis‐
cover any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page, or
you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
systemd 233 SYSTEMD-DETECT-VIRT(1)