mirror of https://github.com/docker/docs.git
Detect Yet Another Virtualization issue
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
caf74d156b
commit
52128128fd
|
|
@ -239,6 +239,9 @@ func (d *Driver) IsVTXDisabledInTheVM() (bool, error) {
|
|||
if strings.Contains(scanner.Text(), "the host CPU does NOT support HW virtualization") {
|
||||
return true, nil
|
||||
}
|
||||
if strings.Contains(scanner.Text(), "VERR_VMX_UNABLE_TO_START_VM") {
|
||||
return true, nil
|
||||
}
|
||||
}
|
||||
|
||||
return false, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue