Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Harbor robot account: Error response from daemon: unauthorized: authentication required

I'm always getting:

Error response from daemon: Get "https://myregistry.example.com/v2/": unauthorized: authentication required

When trying to login with:

docker login --username robot$myproject+myrobotaccount myregistry.example.com
like image 442
Reto Höhener Avatar asked Oct 14 '25 22:10

Reto Höhener


1 Answers

Quote the robot username on Linux:

docker login --username 'robot$myproject+myrobotaccount' myregistry.example.com

But, do NOT quote the username on Windows

docker login --username robot$myproject+myrobotaccount myregistry.example.com
like image 100
Reto Höhener Avatar answered Oct 17 '25 12:10

Reto Höhener



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!