From 06a2ef332903cd482cb45313475849fc495b295d Mon Sep 17 00:00:00 2001 From: Yuvraj Date: Mon, 23 Aug 2021 10:37:20 +0530 Subject: [PATCH] bind sandbox port to host system (#165) Signed-off-by: Yuvraj --- flytectl/pkg/docker/docker_util.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flytectl/pkg/docker/docker_util.go b/flytectl/pkg/docker/docker_util.go index 3e1d55e46c..de19ce15a0 100644 --- a/flytectl/pkg/docker/docker_util.go +++ b/flytectl/pkg/docker/docker_util.go @@ -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", }) }