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
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.
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.×