From 03877dfb60ca4d9972ff0c7f26690b7e55d8e14c Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Thu, 21 Jul 2016 17:48:07 +0200 Subject: [PATCH] don't use HostPort HostPort can lead to problems. Port mappings are handled via Service --- cli/app/app.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/app/app.go b/cli/app/app.go index b5071993..d7b553b1 100644 --- a/cli/app/app.go +++ b/cli/app/app.go @@ -497,7 +497,6 @@ func configPorts(name string, service ServiceConfig) []api.ContainerPort { p = api.ProtocolUDP } ports = append(ports, api.ContainerPort{ - HostPort: port.HostPort, ContainerPort: port.ContainerPort, Protocol: p, })