mirror of https://github.com/docker/cli.git
4731b1ebc8
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 |