Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Docker Desktop Hyperv (Windows)
#Powershell with admin mode
To create a new docker machine you should have a virtual switch on Hyperv Manager
This post helps me:
Then you can create
docker-machine create -d hyperv --hyperv-virtual-switch <NAME VIRTUAL SWICHT> <NEW MACHINE NAME>
& "C:\Program Files\Docker\Docker\Resources\bin\docker-machine.exe" env default | Invoke-Expression
For NEW MACHINE NAME i used "default".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.