Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
docs: update proxy user_guide for proxy port
Browse files Browse the repository at this point in the history
Signed-off-by: cd1989 <[email protected]>
  • Loading branch information
cd1989 authored and lowzj committed Jul 8, 2019
1 parent 767cf87 commit 9aa6aa2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/user_guide/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ proxies:
```

Set HTTP_PROXY for docker daemon in `/etc/systemd/system/docker.service.d/http-proxy.conf`.
`65002` is the default proxy port for dfdaemon. This can be configured with the
`--proxyPort` cli parameter of dfdaemon.
`65001` is the default proxy port for dfdaemon.

```
[Service]
Environment="HTTP_PROXY=http://127.0.0.1:65002"
Environment="HTTP_PROXY=http://127.0.0.1:65001"
```
Set your registry as insecure in `/etc/docker/daemon.json`
Expand Down Expand Up @@ -77,7 +76,7 @@ requests that match the proxy rules. This works for any program that
respects the `HTTP_PROXY` environment variable.

```
HTTP_PROXY=http://127.0.0.1:65002 curl http://github.com
HTTP_PROXY=http://127.0.0.1:65001 curl http://github.com
```

HTTPS requests and requests that are not matched, will be proxied directly,
Expand Down

0 comments on commit 9aa6aa2

Please sign in to comment.