#632  Unable to connect to Docker Hub
Closed
jewgeni opened 2 years ago

Obviously, I'm doing something wrong, but I can't manage to log into Docker Hub. Maybe someone here has the solution.

I created an access token in Docker Hub

image_2.png

Then I used this token in a job executor.

image.png

Error 403. Then I used my normal password. Still 403. What can I do now?

Robin Shen commented 2 years ago

Tested fine at my side:

2022-03-14_07-09-35.png

Make sure that docker hub does not put any limitations on your account.

Robin Shen commented 2 years ago

To verify, you may login directly from command prompt to see if it works:

$ docker login -u <user name> --password-stdin
jewgeni commented 2 years ago

Thank you for the fast reply. Which command prompt do you mean?

Robin Shen commented 2 years ago
I mean to run this command directly from your terminal. 
jewgeni commented 2 years ago

That works :)

jewgeni commented 2 years ago

Rebooted server and onedev. Works now as expected. Thank you

Robin Shen commented 2 years ago
So on terminal it works, but not in OneDev? What type of executor you are testing?
jewgeni changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
jewgeni commented 2 years ago

I used the Docker Server Executer, but the problem was somewhere else, not on the onedev end.

issue 1 of 1
Type
Question
Priority
Minor
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#632
Please wait...
Page is in error, reload to recover