spiegel_podman/pkg/api/handlers/compat
Paul Holzinger 9e2e7f2a77 podman exec: correctly support detaching
podman exec support detaching early via the detach key sequence. In that
case the podman process should exit successfully but the container exec
process keeps running.

Now I wrote automated test for both podman run and exec detach but this
uncovered several larger issues:
 - detach sequence parsing is broken[1]
 - podman-remote exec detach is broken[2]
 - detach in general seems to be buggy/racy, seeing lot of flakes that
   fail to restore the terminal and get an EIO instead, i.e.
   "Unable to restore terminal: input/output error"

Thus I cannot add tests for now but this commit should at least fix the
obvoius case as reported by the user so I like to get this in regardless
and I will work through the other issues once I have more time.

Fixes #24895

[1] https://github.com/containers/common/pull/2302
[2] https://github.com/containers/podman/issues/25089

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-03 01:50:55 +00: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 Configure HealthCheck with podman update 2024-11-19 19:44:14 +01: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 Add --health-max-log-count, --health-max-log-size, --health-log-destination flags 2024-09-25 14:01:35 +02:00
containers_export.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers_logs.go API: container logs flush status code 2024-11-01 18:54:13 +01: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 set !remote build tags where needed 2024-08-19 11:41:28 +02: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 rework event code to improve API errors 2024-11-01 18:54:13 +01:00
exec.go podman exec: correctly support detaching 2025-02-03 01:50:55 +00:00
images.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_build.go Add nohosts option to /build and /libpod/build 2024-11-24 22:00:31 -05:00
images_history.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_prune.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_push.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_remove.go Add podman manifest rm --ignore 2025-01-22 11:43:47 -05: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 set !remote build tags where needed 2024-08-19 11:41:28 +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 set !remote build tags where needed 2024-08-19 11:41:28 +02: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 volume ls: fix race that caused it to fail 2024-11-06 12:28:52 +01:00