Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

switch to wintty in case of "Error: Cannot perform an interactive login from a non TTY device". This fixes the docker login command. #24

Merged
merged 1 commit into from
Aug 17, 2016

Conversation

jpraet
Copy link
Contributor

@jpraet jpraet commented Aug 16, 2016

No description provided.

…in from a

non TTY device". This fixes the docker login command.
@tiangolo
Copy link
Owner

When are you getting that error line?

Are you using "Docker for Wndows 10" or "Docker Toolbox"?

I see the error line here in the code, but I don't get that error in my system...

@jpraet
Copy link
Contributor Author

jpraet commented Aug 17, 2016

I get the error with docker toolbox, on windows 7.

{ projects } » docker login example.com
Error: Cannot perform an interactive login from a non TTY device

And with the fix:

{ projects } » docker login example.com
Error: Cannot perform an interactive login from a non TTY device
-- babun-docker: Using winpty
Username:

@tiangolo tiangolo merged commit 28f61a2 into tiangolo:master Aug 17, 2016
@tiangolo
Copy link
Owner

Ah! Sorry, it's for the docker login, I just missed that part, I almost never use that command.

Merged and updated in the README.md.

Thanks for the contribution! 🎉

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

Successfully merging this pull request may close these issues.

None yet

2 participants