spiegel_podman/pkg/api/handlers/compat
Paul Holzinger 66bf98e27c
compat API: respect base_hosts_file containers.conf option
Hard coding to none without checking containers.conf is not a good idea
as users who liked the previous behavior and the podman default behavior
of keeping the hosts entries can no longer do that.

With this commit they can set base_hosts_file = "/etc/hosts" to restore
the previous behavior.

Fixes: https://issues.redhat.com/browse/RHEL-92995

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-26 16:16:10 +02:00
..
auth.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
changes.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers.go compat: fix Container State.Status JSON values 2025-05-20 10:22:45 -05:00
containers_archive.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_attach.go fix races in the HTTP attach API 2024-08-27 15:00:08 +02:00
containers_create.go compat API: respect base_hosts_file containers.conf option 2025-05-26 16:16:10 +02:00
containers_export.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_logs.go Apply De Morgan's law 2025-03-31 12:27:55 -07:00
containers_pause.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_prune.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_restart.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_start.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_stats_freebsd.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_stats_linux.go vendor: update c/common 2025-03-20 13:37:19 +01:00
containers_stop.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_top.go Match output of Compat Top API to Docker 2024-09-17 11:34:22 -04:00
containers_unpause.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
events.go update golangci-lint to v2.1.1 2025-04-14 19:33:42 +02:00
exec.go podman exec: correctly support detaching 2025-01-31 13:29:04 +01:00
images.go ci: rm allow-unused from nolintlint settings 2025-03-31 12:27:55 -07:00
images_build.go Fix: inheritlabels=true if query param absent 2025-04-25 19:17:00 +02:00
images_history.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_prune.go vendor: update docker v28 and c/{common,image} 2025-03-11 16:24:14 +01:00
images_push.go fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00
images_remove.go bug: Correct Docker compat REST API image delete endpoint 2025-04-27 20:51:11 +10:00
images_save.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_search.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_tag.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
info.go compat: Add DefaultAddressPools field to GET /info 2025-05-16 13:16:27 +02:00
networks.go update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
ping.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
resize.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
secrets.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
system.go fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00
types.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
unsupported.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
version.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
volumes.go vendor: update docker v28 and c/{common,image} 2025-03-11 16:24:14 +01:00