summaryrefslogtreecommitdiff
path: root/cmd/podman/healthcheck/healthcheck.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-03-18 06:33:25 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-03-24 16:33:30 -0400
commit00949d0bd8a08dcb4d619bebddd1dc3ef3b62e73 (patch)
tree3cc3411a8d46064a41b45aa01c8639807da0714a /cmd/podman/healthcheck/healthcheck.go
parentaf91f27d85f4104267eea493f8588f8c6a2d01e3 (diff)
downloadpodman-00949d0bd8a08dcb4d619bebddd1dc3ef3b62e73.tar.gz
podman-00949d0bd8a08dcb4d619bebddd1dc3ef3b62e73.tar.bz2
podman-00949d0bd8a08dcb4d619bebddd1dc3ef3b62e73.zip
Check if stdin is a term in --interactive --tty mode
If you are attempting to run a container in interactive mode, and want a --tty, then there must be a terminal in use. Docker exits right away when a user specifies to use a --interactive and --TTY but the stdin is not a tty. Currently podman will pull the image and then fail much later. Podman will continue to run but will print an warning message. Discussion in : https://github.com/containers/podman/issues/8916 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/healthcheck/healthcheck.go')
0 files changed, 0 insertions, 0 deletions