Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'the input device is not a TTY' when executing minke commands on macOS #32

Closed
cameroncooke opened this issue Sep 30, 2016 · 3 comments
Closed

Comments

@cameroncooke
Copy link

On macOS 10.11 running Docker for Mac 1.12.1 and executing the the command as shown in Quick Start guide:

curl -Ls https://get.minke.rocks | bash -s ' -g minke-generator-go -o $(pwd) -n github.com/nicholasjackson -a myservice'

I get the response:

Running command:  -g minke-generator-go -o $(pwd) -n github.com/nicholasjackson -a myservice
f9dce9132255a8ad06e07475cf9b7cf72a3e87b085ba7830262bb44fac399053
the input device is not a TTY
minke_lyhtw8k2lxsmlx0ktomgrll5noeuhgnf

I've had the same error on iTerm and Terminal, and using the shells ZSH and Bash. I don't think macOS supports TTYs.

Quick Google reveals that this might be an issue with Docker and suggestions are to remove the -i (interactive) option.

@cameroncooke cameroncooke changed the title 'the input device is not a TTY' when executing minke commands on OSX 'the input device is not a TTY' when executing minke commands on macOS Sep 30, 2016
@algal
Copy link

algal commented Oct 4, 2016

I'm seeing the same thing on macOS 10.11 and Docker for 1.12.20-rc1-beta27 (build:12496).

@nicholasjackson
Copy link
Owner

I will take a look at this, it should attempt to detect if TTY is available before setting the option. The problem with removing the interactive terminal mode is that you can no longer quit the session as it is not possible to send Ctrl-C to minke.

@nicholasjackson
Copy link
Owner

@cameroncooke @algal are you both using version 1.13.16?

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

No branches or pull requests

3 participants