[Docker for Mac] Deal with Credentials store error

I did a Docker-compose run Since a Credentials store error has occurred, I will write a countermeasure.

environment

macOS High Sierra 10.13.2 Docker version 19.03.12

Remedy A

Uncheck the Docker icon in the menu bar> Preferences ...> Securely store docker logins in macOS keychain

I took solution A once, but after a while I got the same error, so I took solution B.

Remedy B

Erase config.json once.

sudo rm ~/.docker/config.json

docker login

docker-compose run

A new config.json will be created when you log in.

reference

https://qiita.com/takuya-s/items/7743132a23f94e4126d2 https://stackoverflow.com/questions/56267890/docker-compose-unable-to-start

Recommended Posts

[Docker for Mac] Deal with Credentials store error
Install Docker Desktop for Mac with Homebrew
How to use nginx-ingress-controller with Docker for Mac
How to make Laravel faster with Docker for Mac
Docker login not possible on remote Mac (Error saving credentials)
Environment construction with Docker for beginners
Docker For Mac Slow: Countermeasure II
Install metrics-server with Helm on Kubernetes that comes with Docker for Mac
Laravel development environment construction with Docker (Mac)
Creating a java web application development environment with docker for mac part1
Create a java web application development environment with docker for mac part2
Run Ubuntu + ROS with Docker on Mac
Time shift measures with Docker for Windows
[Error resolution] Occurs when trying to build an environment for spring with docker
Docker Desktop for Windows 2.4.0.0 (48506) Startup error after update
Docker Container Operations with Docker-Client API for Java
How to deal with the error yaml.scanner.ScannerError: while scanning for the next token that appeared in Rails environment construction with Docker
`bind': Address already in use --bind (2) for 127.0.0.1:3000 (Errno :: EADDRINUSE) How to deal with the error
[Docker] How to update using a container on Heroku and how to deal with Migrate Error
How to quit Docker for Mac and build a Docker development environment with Ubuntu + Vagrant
When Kubernetes doesn't start on Docker Desktop for Mac
How to build docker environment with Gradle for intelliJ
How to deal with No template for interactive request
Error encountered with notes when deploying docker on rails
[Docker environment] How to deal with ActiveSupport :: MessageEncryptor :: InvalidMessage
Recent (2020/08) Docker for Mac file access slow problem memo
When Docker for Mac 2.4.0.0 does not reflect file changes
[Note] I suddenly can't build with Docker for windows.
Docker Compose does not start with docker.credentials.errors.InitializationError error message
When I bcrypt with node + docker, I got an error
(For myself) Build gitlab with ubuntu18.04 + docker for home (Note)
Try connecting to AzureCosmosDB Emulator for Docker with Java
Build an Android image for Orange Pi 4 with Docker
[Docker + Rails] How to deal with Rails server startup failure