I\'m new to using docker and am configuring a container. I am unable to edit /etc/hosts (but need to for some software I\'m developing). Auto-edit (via sudo or root) of the
This is currently a technical limitation of Docker, and is discussed further at https://github.com/dotcloud/docker/issues/2267.
It will eventually be lifted.
For now, you need to work around it, e.g. by using a custom dnsmasq server.
dnsmasq