spiegel_podman/pkg/api/handlers
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
..
compat podman exec: correctly support detaching 2025-02-03 01:50:55 +00:00
libpod Merge pull request #25102 from Honny1/prune 2025-01-27 16:52:06 +00:00
swagger Fix device limitations in podman-remote update on remote systems 2024-12-09 17:35:56 +01:00
types Bump Go module to v5 2024-02-08 09:35:39 -05:00
utils rework event code to improve API errors 2024-11-01 18:54:13 +01:00
decoder.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
types.go Fix device limitations in podman-remote update on remote systems 2024-12-09 17:35:56 +01:00