Update part4.md

Some commands need to be run as Administrator on Windows or else they will fail or produce empty output.
This commit is contained in:
mmoser18
2019-02-19 21:50:00 +01:00
committed by GitHub
parent dca9a45f26
commit aaa85c6100

View File

@@ -126,6 +126,8 @@ so they can connect to each other.
Now, create a couple of VMs using our node management tool,
`docker-machine`:
> **Note**: you need to run the following as administrator or else you don't have the permission to create hyperv VMs!
```shell
docker-machine create -d hyperv --hyperv-virtual-switch "myswitch" myvm1
docker-machine create -d hyperv --hyperv-virtual-switch "myswitch" myvm2
@@ -143,6 +145,8 @@ You now have two VMs created, named `myvm1` and `myvm2`.
Use this command to list the machines and get their IP addresses.
> **Note**: you need to run the following as administrator or else you don't get any resonable output (only "UNKNOWN").
```shell
docker-machine ls
```