You need to configure port forwarding of virtual ports using a host on port 2375:
> VBoxManage modifyvm "default" --natpf1 "guestssh,tcp,,2375,,2376"
guestsh is the name of port forwarding, you can choose a name.
If VBoxManage not recognized, you can replace it with the full path:
"pathVirtualBox \ VBoxManage.exe"
And if you have a problem like "Server could not respond with a valid HTTP response" copy the certificate files from
"% USER% .docker \ machines \ certificates"
in
"% USER% .docker"
docker-maven-plugin read these files in "% USER% .docker" (do not copy directory certificates, just files).
I think we can override the maven properties to replace port 2375 and the certs path, but I haven't found it yet.
source share