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

When trying to use docker login in a non-interactive shell, it returns wrong error #20142

Open
netoneko opened this issue Feb 9, 2016 · 3 comments
Labels
area/authentication area/ux kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. version/1.9

Comments

@netoneko
Copy link

netoneko commented Feb 9, 2016

Same as #12959

How to reproduce: try to use docker login --username=right-username --email=right-email --password="". You will get an error inappropriate ioctl for device. It is possible to log in with an interactive shell.

Shell: bash.

Kernel: Linux icweb-logsearch-03-production-us-west-1 3.14.48-33.39.amzn1.x86_64 #1 SMP Tue Jul 14 23:43:07 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

OS: Amazon Linux 15.03

Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5/1.9.1
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5/1.9.1
 Built:
 OS/Arch:      linux/amd64
@thaJeztah thaJeztah added the kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. label Feb 16, 2016
@adamkdean
Copy link

Also having this in a jenkins build script.

Update: found a solution to my problem. TLDR: make sure the docker server and docker client both have access to the same io location exposed in the HOME environment variable.

@thaJeztah
Copy link
Member

@adamkdean are you sure it's needed on the server / daemon as well?

@adamkdean
Copy link

@theJeztah I'm having this issue again. It's definitely needed, but luckily, I see the guy above has posted a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/authentication area/ux kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. version/1.9
Projects
None yet
Development

No branches or pull requests

4 participants