1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2026-03-29 16:47:56 +00:00
Files
nginx-proxy/test/conftest.py
polarathene b2b4c71997 fix: Don't remove pytest container when running with host network mode
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.
2021-12-31 22:12:25 +13:00

19 KiB