docker-machine url

Get the URL of a host

$ docker-machine url dev

tcp://192.168.99.109:2376
machine, url, subcommand