You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2019/10/21 19:54:04 UTC

changing /etc/hosts in container

What are my options to adding a host entry to /etc/hosts in container 
running not as root?






Re: changing /etc/hosts in container

Posted by Bruce Campbell <Br...@microsoft.com>.
You could copy an /etc/hosts file with the desired erntry  in the Dockerfile if the entry is known in advance.
________________________________
From: Marc Roos <M....@f1-outsourcing.eu>
Sent: Monday, October 21, 2019 12:54 PM
To: user <us...@mesos.apache.org>
Subject: changing /etc/hosts in container


What are my options to adding a host entry to /etc/hosts in container
running not as root?