podman does not create console if -t is present in noninteractive shell #3640
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
If we run podman exec -t in non-interactive shell, it does not create console.
Steps to reproduce the issue:
podman run --rm -d --name test ubi8 sleep 1000
run this command in non-interactive shell:
podman exec -t test date
Describe the results you received:
exec failed: provided file is not a console
Error: exit status 1
Describe the results you expected:
It should work as with docker.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version:The text was updated successfully, but these errors were encountered: