I am using a Linux Mint machine. I tried to push my Docker image, but I am facing an issue. How can I resolve it?
Have you tried what the error message suggested as a solution?
Docker login failed, I tried to pass the init command but still problem not solved.
You need to run
pass init
not pass the init command. Where did you pass “init”?
Here is the documentation for logging in to Docker Desktop on Linux
https://docs.docker.com/desktop/get-started/#signing-in-with-docker-desktop-for-linux
It also describes generating the gpg key and the argument of the pass init
command.