Konubinix' opinionated web of thoughts

Custom Hosts Are Not Propagated in the Docker Container


custom hosts are not propagated in the docker container

Custom hosts, defined in /etc/hosts on the host machine, aren’t inherited by containers. To pass additional hosts into container, refer to add entries to container hosts file in the docker run reference documentation.


Notes pointant ici