Skip to content

Commit

Permalink
bind sandbox port to host system (flyteorg#165)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia authored Aug 23, 2021
1 parent 7700598 commit 6fe1598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/docker/docker_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ func RemoveSandbox(ctx context.Context, cli Docker, reader io.Reader) error {
// GetSandboxPorts will return sandbox ports
func GetSandboxPorts() (map[nat.Port]struct{}, map[nat.Port][]nat.PortBinding, error) {
return nat.ParsePortSpecs([]string{
"127.0.0.1:30086:30086",
"127.0.0.1:30081:30081",
"127.0.0.1:30082:30082",
"127.0.0.1:30084:30084",
"0.0.0.0:30086:30086",
"0.0.0.0:30081:30081",
"0.0.0.0:30082:30082",
"0.0.0.0:30084:30084",
})
}

Expand Down

0 comments on commit 6fe1598

Please sign in to comment.