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 <code@evalsocket.dev>
yindia authored and robert-ulbrich-mercedes-benz committed Jul 2, 2024
1 parent e6e00e3 commit 06a2ef3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flytectl/pkg/docker/docker_util.go
Original file line number Diff line number Diff line change
@@ -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",
})
}

0 comments on commit 06a2ef3

Please sign in to comment.