mirror of https://github.com/docker/docs.git
Clarify role of `dockerhost` variable
Signed-off-by: Alex Coventry <alx@empirical.com> (cherry picked from commit 8aba9fd3ec776fa419ea504982e9bc12b6427f22)
This commit is contained in:
parent
ea4d01f22f
commit
460418f035
|
|
@ -54,7 +54,10 @@ use:
|
||||||
|
|
||||||
$ docker logs -f test_apt_cacher_ng
|
$ 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
|
1. Add an apt Proxy setting
|
||||||
`echo 'Acquire::http { Proxy "http://dockerhost:3142"; };' >> /etc/apt/conf.d/01proxy`
|
`echo 'Acquire::http { Proxy "http://dockerhost:3142"; };' >> /etc/apt/conf.d/01proxy`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue