mirror of https://github.com/docker/docs.git
Fix #2995
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
parent
b692d1e374
commit
e4ef6d4098
|
@ -239,7 +239,7 @@ func (d *Driver) chooseVirtualSwitch() (string, error) {
|
||||||
|
|
||||||
if d.VSwitch == "" {
|
if d.VSwitch == "" {
|
||||||
if len(switches) < 1 {
|
if len(switches) < 1 {
|
||||||
return "", fmt.Errorf("no vswitch found")
|
return "", fmt.Errorf("no vswitch found. A valid vswitch must be available for this command to run. Check https://docs.docker.com/machine/drivers/hyper-v/")
|
||||||
}
|
}
|
||||||
|
|
||||||
return switches[0], nil
|
return switches[0], nil
|
||||||
|
|
Loading…
Reference in New Issue