Resolving Docker 'Credential Store Not Initialized' Error on Deepin Linux OS 20.9

I'm a passionate software developer.
Search for a command to run...

I'm a passionate software developer.
No comments yet. Be the first to comment.
Telegram Telegram is a cloud-based instant messaging app that allows users to send text messages, voice messages, multimedia files, and make voice and video calls over the internet. It was developed by Pavel Durov and his team and was first launched...
Components Introduction In order to truly understand props in React, we first need to be clear on what components are. A component is a reusable piece of the user interface that encapsulates structure, styling, and behavior. Instead of repeating the ...

Introduction Context By default, Codespace is using the GITHUB_TOKEN env var (the “Codespaces token”), which can’t create repos. It’s necessary to authenticate gh with a token/account that has the right scopes, or create the repo on the web first. Ob...

Solution Here it is: git commit --allow-empty-message -m "" Explanation To create a Git commit without a message, or with an empty message, you can use the --allow-empty-message flag with the git commit command. git commit --allow-empty-message -m "...

Steps Cleanup phase This phase’s goal is to removes existing containers, volumes, networks and images Stop and remove volumes docker compose down --volumes --remove-orphans The previous command stops and removes containers, networks, and default volu...

Steps Stop the service It’s not mandatory, but before uninstalling, it's a good practice to stop any running Docker services. sudo systemctl stop docker Remove docker packages It’s used to completely and forcefully remove a list of specified packag...

Credential store not initialised
Docker Desktop uses 'pass' to store the login credentials that needs to be initialised.

Docker Desktop is a desktop application that provides an integrated development environment for Docker.
The error message we're seeing, credential store not initialised is related to Docker's credential store, which is used to securely store and manage login credentials for Docker registries.
Docker uses different credential helpers or credential stores on different platforms, and on Linux, it often uses pass as one of the credential helpers.
shall we?

This step is just to make sure you have Deepin Linux installed.
lsb_release -a
hostnamectl
cat /etc/os-release
uname -a
Output

Make sure your Docker is up and running here or through the following link:
Make sure your Docker desktop is up and running here or through the following link: https://blog.alexandrecalaca.com/how-to-configure-docker-desktop-on-deepin-linux-os-209
gpg --generate-key
The gpg --generate-key command is used to generate a new GPG (GNU Privacy Guard) key pair.
GPG is a widely used open-source software for encrypting and signing data and is commonly used for securing email communications, verifying the authenticity of software packages, and protecting sensitive information.
Provide real name and email address



The following lists all the public keys
gpg --list-keys
Output

Just in case you want to list all your private keys, you should run the following command:
gpg --list-secret-keys

pass init your-key
It should be something like the following:
pass init DAZF877093FCF03Z4BFA3A0456CD93F8BCFC51B4
Output

Click on sign-in



Click on Open xdg-open

Now, you should see your logged in.


Thank you for reading this article.
If you have any questions, thoughts, suggestions, or corrections, please share them with us.
We appreciate your feedback and look forward to hearing from you.