mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Merge pull request #2757 from dgageot/fix-broken-vtx-detection
Fix broken VTx detection
This commit is contained in:
@@ -211,12 +211,14 @@ func (d *Driver) PreCreateCheck() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if isHyperVInstalled() {
|
||||
return ErrNotCompatibleWithHyperV
|
||||
}
|
||||
|
||||
if !d.NoVTXCheck {
|
||||
return ErrMustEnableVTX
|
||||
if isHyperVInstalled() {
|
||||
return ErrNotCompatibleWithHyperV
|
||||
}
|
||||
|
||||
if d.IsVTXDisabled() {
|
||||
return ErrMustEnableVTX
|
||||
}
|
||||
}
|
||||
|
||||
// Downloading boot2docker to cache should be done here to make sure
|
||||
|
||||
Reference in New Issue
Block a user