Skip to content

Commit

Permalink
🔊 Add Docker container hostname tip
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Mar 28, 2022
1 parent 04305b0 commit 8606c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/port_forward/port_forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8606c33

Please sign in to comment.