dotcloud/docker — pull request #5859 by philips (2014-05-16 22:07:33+00:00)
Title: fix(daemon): prepend host /etc/hosts instead of bind mounting

systemd systems do not require a /etc/hosts file exists since an nss
module is shipped that creates localhost implicitly. So, mounting
/etc/hosts can fail on these sorts of systems, as was reported on CoreOS
in issue #5812.

Instead of trying to bind mount just prepend the hosts entries onto the
containers private /etc/hosts. Maybe this will fix #5857 too?