mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-03-31 17:47:56 +00:00
When the container runs with host networking instead of the default bridge, the `$HOSTNAME` / `/etc/hostname` reflects that of the host instead of the container ID , which causes the pytest container to get removed accidentally. Using a container name instead we can more reliably target the container to avoid removing it, should we need to run with host networking instead.
1.3 KiB
Executable File
1.3 KiB
Executable File