OS Manuals

/usr/bin/virt-chroot

KubeVirt chroot helper for SELinux detection and relabeling in mount namespaces

From virt-chroot-1.9 1.9.1-r2 (enterprise-packages), captured 2026-11-08 by running virt-chroot --help (exit 0). permalink

Also provided by 7 other package versions
Usage:
  virt-chroot [flags]
  virt-chroot [command]

Available Commands:
  completion            Generate the autocompletion script for the specified shell
  create-mdev           create a mediate device in a given PID net ns
  create-tap            create a tap device in a given PID net ns
  exec                  execute a sandboxed command in a specific mount namespace
  help                  Help about any command
  mount                 mount operations in a specific mount namespace
  remove-mdev           remove a mediate device
  selinux               run selinux operations in specific namespaces
  set-cgroups-resources Set cgroups resources
  umount                unmount in a specific mount namespace

Flags:
  -h, --help           help for virt-chroot
      --mount string   mount namespace to use

Use "virt-chroot [command] --help" for more information about a command.
Options (2)
OptionDescriptionSource
-h, --helphelp for virt-chroothelp
--mount stringmount namespace to usehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.