1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/opts
Tim Hockin 68e48b65a6 Allow extra lines in /etc/hosts
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>
2014-09-16 23:38:23 +00:00
..
envfile.go env-file: variable behavior 2014-03-31 14:45:13 -04:00
ip.go Fix inconsistency in IP address parsing errors 2014-08-13 19:25:51 +00:00
opts.go Allow extra lines in /etc/hosts 2014-09-16 23:38:23 +00:00
opts_test.go Helpers to parse lists, IPs, hosts, dns searches from the command line 2014-08-13 19:25:47 +00:00