зеркало из https://github.com/microsoft/docker.git
68e48b65a6
This adds a --add-host host:ip flag which appends lines to /etc/hosts. This is needed in places where you want the container to get a different name resolution than it would through DNS. This was submitted before as #5525, closed, and now I am re-opening. It has come up 2 or 3 times in the last couple days. Signed-off-by: Tim Hockin <thockin@google.com> |
||
---|---|---|
.. | ||
envfile.go | ||
ip.go | ||
opts.go | ||
opts_test.go |