Skip to content

Commit

Permalink
don't use HostPort
Browse files Browse the repository at this point in the history
HostPort can lead to problems.
Port mappings are handled via Service
  • Loading branch information
kadel committed Jul 21, 2016
1 parent 7892ea1 commit 03877df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit 03877df

Please sign in to comment.