Docker Community Forums

Share and learn in the Docker community.

Docker login returns "403 forbidden by administrative rules"


(Caay2000) #1

Hi, dunno if this is the correct place to post this…

Following the docker tutorial, I’m getting a 403 status when doing the login step. I tried in two different computers with different networks, connecting from Barcelona. I’m using Docker version 1.9.0, build 76d6bc9.

Anyone can tell me what I should do ?

Thanks !


(Prdur) #2

Same problem here.
What am I doing wrong?


(Amayleadingedje) #3

I’m having the same problem on Windows 10 from both Git Bash and Powershell. The Docker Hub account is newly created.

I also noticed that if I don’t supply values as arguments to the login it will prompt for them, but hitting enter does nothing.

$ docker version
Client:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   76d6bc9
 Built:        Tue Nov  3 19:20:09 UTC 2015
 OS/Arch:      windows/amd64

Server:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   76d6bc9
 Built:        Tue Nov  3 19:20:09 UTC 2015
 OS/Arch:      linux/amd64

(Conker84) #4

Same problem here:

Client:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   76d6bc9
 Built:        Tue Nov  3 19:20:09 UTC 2015
 OS/Arch:      windows/amd64

Server:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   76d6bc9
 Built:        Tue Nov  3 19:20:09 UTC 2015
 OS/Arch:      linux/amd64

There is someone that can help us?
This issue is very annoing


(Tdkryger) #5

$ docker version
Client:
Version: 1.9.1
API version: 1.21
Go version: go1.4.3
Git commit: a34a1d5
Built: Fri Nov 20 17:56:04 UTC 2015
OS/Arch: windows/amd64

Server:
Version: 1.9.1
API version: 1.21
Go version: go1.4.3
Git commit: a34a1d5
Built: Fri Nov 20 17:56:04 UTC 2015
OS/Arch: linux/amd64

Same problem with a newer version


(Genem) #6

Same problem here. Tried a ‘docker-machine upgrade default’ but no luck. I can login with same credentials on website but via docker terminal or powershell I get Request Forbidden 403.

UPDATE: I can ‘docker-machine ssh default’ from powershell then I’m able get docker login to connect.


(Caay2000) #7

Thanks @genem, worked perfectly :wink:


(Xpan) #8

Thanks genem, it works.


(Paula) #9

Thanks genem, it works in Docker Quickstart terminal also.


(Sivarami) #10

Thanks genem, it’s working…


(Anujtyagi) #11

I found different way which is also working fine for me:

Just need to change config.jason file
http://networkengg.com/docker-login-failed-on-windows-403-forbidden-error/