mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user