Skip to content

Commit 3701748

Browse files
committed
docs/reference: use table for proxy env-vars
Adding a description based on the Go documentation. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 879e080 commit 3701748

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

  • docs/reference/commandline

docs/reference/commandline/cli.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,14 @@ line:
140140
Because Docker is developed using Go, you can also use any environment
141141
variables used by the Go runtime. In particular, you may find these useful:
142142

143-
* `HTTP_PROXY`
144-
* `HTTPS_PROXY`
145-
* `NO_PROXY`
146-
147-
These Go environment variables are case-insensitive. See the
148-
[Go specification](https://golang.org/pkg/net/http/) for details on these
149-
variables.
143+
| Variable | Description |
144+
|:--------------|:-------------------------------------------------------------------------------|
145+
| `HTTP_PROXY` | Proxy URL for HTTP requests unless overridden by NoProxy. |
146+
| `HTTPS_PROXY` | Proxy URL for HTTPS requests unless overridden by NoProxy. |
147+
| `NO_PROXY` | Comma-separated values specifying hosts that should be excluded from proxying. |
148+
149+
See the [Go specification](https://pkg.go.dev/golang.org/x/net/http/httpproxy#Config)
150+
for details on these variables.
150151

151152
## Configuration files
152153

0 commit comments

Comments
 (0)