Files
podman/libpod
Clemens Klug 24130e2a0c keep pod hostname when a container is stopped
When a container in a pod is stopped, its container name is removed from /etc/hosts. etchosts.Remove() filters for any entry matching the container name or the pod hostname. A pod with additional host entries like --add-host FQDN;pod-hostname:127.0.0.1 is affected by this deletion, too.

Only the container name needs to be removed when a container is stopped.

Signed-off-by: Clemens Klug <git@agp8x.org>
2026-04-24 10:20:43 +00:00
..
2025-10-23 11:00:15 -04:00
2026-03-03 21:30:05 +01:00
2025-11-11 12:32:46 +01:00
2025-10-23 11:00:15 -04:00
2025-11-11 12:32:46 +01:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2026-03-09 16:08:43 +01:00
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00