Clarify role of `dockerhost` variable

Signed-off-by: Alex Coventry <alx@empirical.com>
(cherry picked from commit 8aba9fd3ec776fa419ea504982e9bc12b6427f22)
This commit is contained in:
Alex Coventry 2016-06-19 15:28:08 -04:00 committed by Tibor Vass
parent ea4d01f22f
commit 460418f035
1 changed files with 4 additions and 1 deletions

View File

@ -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`