S
S
Station 722019-04-25 18:28:43
Docker
Station 72, 2019-04-25 18:28:43

How to create a windows virtual machine using docker-machine create?

Everything happens in Windows 10.
There are .netcore 2.0 projects.
I want to assemble them into images and throw them into swarm for testing and learning purposes.
There are commands
docker-machine create -d hyperv --hyperv-virtual-switch "stationext" myvm1
docker-machine create -d hyperv --hyperv-virtual-switch "stationext" myvm2
which create Linux virtual machines. I need these virtual machines to be with windows.
Right now I don't see where it's written in the documentation. Does someone know how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Hukendo, 2019-04-26
@cjstress

docker-machine is not designed for this. Of course, you can assemble an image, but I have not seen ready-made solutions, and they are not needed.
What you want is described here https://docs.microsoft.com/ru-ru/virtualization/wi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question