allow 'docker run' to specify ipaddress with hostname

Docker-DCO-1.1-Signed-off-by: Zhongyi Xie <zhongyi@altiscale.com> (github:zhongyi-altiscale)