Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.

Running in Docker without TTY #9

Open
omerlh opened this issue Dec 31, 2017 · 1 comment
Open

Running in Docker without TTY #9

omerlh opened this issue Dec 31, 2017 · 1 comment

Comments

@omerlh
Copy link

omerlh commented Dec 31, 2017

When running kubetest inside docker without tty (e.g. without -it), it failed with the following error:

level=error msg="The document stdin appears to be empty"

I think the error is from this line, but I'm not sure why it happens. To reproduce, you can run:

docker run -v local/kubetest:3 kubetest

I've pretty much copied your docker file.

@lukebond
Copy link

lukebond commented Sep 2, 2018

Same. Think it would be best to check for filename args on the command-line first, then if none, do that check for stdin content as it seems that check is incorrect in some cases, and then we'd have a workaround.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants