added validation for docker hostnames
Merge branch 'gh-37'