docker/docker — pull request #8019 by thockin (2014-09-13 04:40:56+00:00)
Title: 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