localhost
and will be port mapped to the address.docker-compose
and docker-machine
work, but for Machine (and thus Swarm) you will need to define a non-native driver. This means you can manage Docker Machine from your Mac, but the machines will still be hosted elsewhere and still need to be managed by the traditional eval $(docker-machine env default)
commands.