Skip to content
Snippets Groups Projects
Commit c37fbb8f authored by godog's avatar godog
Browse files

float-base-docker: bindmount /etc/hosts inside containers

parent 1132fa55
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,11 @@ exec /usr/bin/podman run \
--rm --name {{ item.service }}-{{ item.container.name }} \
--no-healthcheck \
--replace \
{# Bindmount /etc/hosts to pick up service moves (also disables podman's
/etc/hosts generation
#}
--no-hosts \
--mount=type=bind,source=/etc/hosts,destination=/etc/hosts,ro=true \
$opts \
{% for opt in g.options %}
{{ opt }} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment