I create a docker machine names dockerhyperv
using the command docker-machine create -d hyperv dockerhyperv
I have a docker-compose.yml
file, call docker-compose up
and the logs look good but I cannot connect to on the port from the yml file.
I eventually found out about the command docker-machine ip
and noticed the docker has a different IP address than my host.
I have no idea why this is the case. Does it have to do with hyper-v settings? I expect(ed) docker to run on localhost. In the past I played with the virtualbox driver but this should not interfere with hyper-v.