mirror of https://github.com/docker/docs.git
FIX #2127 Detect that HW virtualization is not supported
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
952539dd8a
commit
0176f05db8
|
@ -218,6 +218,9 @@ func (d *Driver) IsVTXDisabledInTheVM() (bool, error) {
|
|||
if strings.Contains(scanner.Text(), "VT-x is disabled") {
|
||||
return true, nil
|
||||
}
|
||||
if strings.Contains(scanner.Text(), "the host CPU does NOT support HW virtualization") {
|
||||
return true, nil
|
||||
}
|
||||
}
|
||||
|
||||
return false, nil
|
||||
|
|
Loading…
Reference in New Issue