ERROR: failed to solve: error getting credentials - err: exit status 1, out: ``

This is the topic I mentioned before

Try what I described there to make the docker command executable again.

Out of curiosity, did you install Docker Desktop as root? I know HomeBrew can also install Docker desktop but if you run it as root it might break the file permissions at least from your non-root user’s point of view.

update:
Of course you have a different permission issue. Sorry I answered too quickly. So just make the docker folder writable by you like this:

sudo chown -R $(id -u):$(id -g) $HOME/.docker
6 Likes