Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker Desktop Hyperv (Windows)
#Powershell with admin mode
#https://docs.docker.com/machine/get-started/
To create a new docker machine you should have a virtual switch on Hyperv Manager
This post helps me: https://github.com/docker/machine/issues/4328
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.