Is it possible to create a device for a docking machine with ipv4 support in Windows 10?

Given the fresh Windows 10 pro and the latest 1.13.1 (10072) "Docker for Windows", if I create a new computer using:

docker-machine create --driver hyperv node1

The machine will only have an ipv6 address. Simple commands, such as docker ssh node1, will work, but if I try something advanced, such as a docker swarm, this will not work:

$ docker-machine ls
NAME    ACTIVE   DRIVER   STATE     URL                                     SWARM   DOCKER    ERRORS
node1   -        hyperv   Running   tcp://[fe80::215:5dff:fe0f:ae10]:2376           v1.13.1

Is it possible to create an IPv4 docking machine, or is it not intended for use in Windows mailboxes?

+4
source share
1 answer

It is possible. You must use an external network switch.

, hyper-v, .

, node ( - ):

docker-machine create --driver hyperv --hyperv-virtual-switch " " node1

0

Source: https://habr.com/ru/post/1670742/


All Articles