podman: podman-remote exec -i, with stdin redirection, hangs

In window 1:

$ ./bin/podman system service --timeout=0

In window 2:

$ ./bin/podman-remote run -d --name foo alpine sleep 20
60a88de15c87d44872b20f2716cd529de4ca0471527151456049dbc3dfeaa927

$ ./bin/podman-remote exec -i foo cat <<<"hi there"
hi there
<<<--- hangs here (no prompt, no nothing) until container sleep finishes. ^D does nothing.

Without -i there is no hang, but there is no output either.

Regular (non-remote) podman works fine: output is as expected, and the exec returns immediately.

master @ 748e8829d, root & rootless

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 27 (14 by maintainers)

Commits related to this issue

Most upvoted comments

Apparently it was a very simple fix. PR in progress.