# Añadir una entrada en el archivo hosts

**URL:** <https://meta.discourse.org/t/adding-an-entry-in-hosts-file/255835>\
**Category:** Self-hosting\
**Tags:** docker\
**Created:** [21 Febrero, 2023 20:09 UTC](https://meta.discourse.org/t/adding-an-entry-in-hosts-file/255835 "2023-02-21T20:09:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Netboy3](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Netboy3](https://meta.discourse.org/u/Netboy3)\
**Post date:** [21 Febrero, 2023 20:09 UTC](https://meta.discourse.org/t/adding-an-entry-in-hosts-file/255835/1 "2023-02-21T20:09:20Z")

</div>

Necesito agregar una entrada en el archivo hosts del contenedor mail-receiver. ¿Hay alguna forma de hacerlo durante el tiempo de instalación usando una entrada en la configuración YAML? He intentado `run:` y `exec:` sin éxito.

---

_[View the full topic](https://meta.discourse.org/t/adding-an-entry-in-hosts-file/255835)._
