From 8606c33342db3d8ee7e462c0a76c694891103939 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Mon, 28 Mar 2022 14:50:15 -0500 Subject: [PATCH] :loud_sound: Add Docker container hostname tip --- cmd/port_forward/port_forward.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/port_forward/port_forward.go b/cmd/port_forward/port_forward.go index 11dd9407..31ed488b 100644 --- a/cmd/port_forward/port_forward.go +++ b/cmd/port_forward/port_forward.go @@ -113,6 +113,7 @@ func run(cmd *cobra.Command, args []string) (err error) { }) t.SetStyle(table.StyleLight) t.Render() + fmt.Println(`Tip: If you are connecting from a Docker container, try setting the hostname to "host.docker.internal"`) }() errCh := make(chan error, 1)