Question

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

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.

Subscribe
Share

Submit an 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 ?