This fixes a bug when in host value is specified in api object, but it is ignored by docker Closes: #512 Related-To: #512 Change-Id: I57e66a19124d1d0a295396491dbd22e2e2193d31