Report this

What is the reason for this report?

Unable to login to registry via `doctl registry login` - docker-credential-doctl executable not found

Posted on March 26, 2021

I am using doctl version 1.57.0:

> doctl version
       
doctl version 1.57.0-release
Git commit hash: 497c900

I installed doctl using the GitHub download method for Linux (Ubuntu 20.04).

When I run the command to log in to the registry I get the following error:

> doctl registry login

Logging Docker in to registry.digitalocean.com
Error: error storing credentials - err: exec: "docker-credential-doctl": executable file not found in $PATH, out: ``

I have also tried installing via snap and I get the exact same problem.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi,

Can you use doctl for any other purpose like getting information about your account ?

doctl account get

Does it work or you get another error message ?

I also had such a problem. I logged into “docker desktop” and everything worked.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.