mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Clarify role of dockerhost variable
Signed-off-by: Alex Coventry <alx@empirical.com>
This commit is contained in:
@@ -54,7 +54,10 @@ use:
|
||||
|
||||
$ docker logs -f test_apt_cacher_ng
|
||||
|
||||
To get your Debian-based containers to use the proxy, you have following options
|
||||
To get your Debian-based containers to use the proxy, you have
|
||||
following options. Note that you must replace `dockerhost` with the
|
||||
IP address or FQDN of the host running the `test_apt_cacher_ng`
|
||||
container.
|
||||
|
||||
1. Add an apt Proxy setting
|
||||
`echo 'Acquire::http { Proxy "http://dockerhost:3142"; };' >> /etc/apt/conf.d/01proxy`
|
||||
|
||||
Reference in New Issue
Block a user