SIGN IN SIGN UP
containers / podman UNCLAIMED

Podman: A tool for managing OCI containers and pods.

0 0 124 Go

cmd/podman: don't warn on `podman run -ti -d` from not a tty

`podman run -ti` warns when stdin is not a tty, but if the container is
run in detached state that warning does not make much sense: we just
need the environment where podman attach will be run to be a tty.

Running with `-ti` even in detached state can make sense to avoid
applications buffering their output (for realtime logs) or allowing
later interaction and should not warn users.

Also remove the comment saying that warning will become fatal, as there
seems to be agreement that such a breaking change will not be made

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
D
Dominique Martinet committed
4ec95b5de109fb73288c1301a38eac779517a2ac
Parent: c995882