use host hostname

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
Merge pull request #14 from vieux/use_host_hostname2

Use host hostname