Docker Compose does not start with docker.credentials.errors.InitializationError error message

TL,DR

Select "Troubleshoot" from the Docker icon menu and initialize it with the "Reset to factory defaults" button.

Details of the error

$ docker-compose up -d --build
Building ubuntu
Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 67, in main
  File "compose/cli/main.py", line 126, in perform_command
  File "compose/cli/main.py", line 1070, in up
  File "compose/cli/main.py", line 1066, in up
  File "compose/project.py", line 615, in up
  File "compose/service.py", line 346, in ensure_image_exists
  File "compose/service.py", line 1125, in build
  File "site-packages/docker/api/build.py", line 261, in build
  File "site-packages/docker/api/build.py", line 308, in _set_auth_headers
  File "site-packages/docker/auth.py", line 311, in get_all_credentials
  File "site-packages/docker/auth.py", line 262, in _resolve_authconfig_credstore
  File "site-packages/docker/auth.py", line 287, in _get_store_instance
  File "site-packages/docker/credentials/store.py", line 25, in __init__
docker.credentials.errors.InitializationError: docker-credential-gcloud not installed or not available in PATH
[56567] Failed to execute script docker-compose

procedure

step 1 pic1.png Step 2 pic2.png

Recommended Posts

Docker Compose does not start with docker.credentials.errors.InitializationError error message
Docker test DB does not start
Container does not start with docker-compose
MySQL container does not start in Docker
Bundle install with docker + rails6 does not reflect gem
When the server does not start with rails s
The story when the container does not start up with docker-compose up and an error occurs
Node.js environment construction with Docker Compose
General error: 1812 occurs with docker + laravel
WordPress with Docker Compose on CentOS 8
mysql doesn't start up with docker.
[Linux] Start Apache container with Docker
How to start Camunda with Docker
[Rails] Video does not play with video_tag
Spring Boot 2.0.0 does not start built-in tomcat
Create Rails 6 + MySQL environment with Docker compose
[Now] Let's Redmine with Docker Compose with Let's Encrypt
Try using Kong + Konga with Docker Compose.
Add if not in Set, error message if
[NetBeans] Story when it does not start
[Grails] Error occurred running What to do when the Grails CLI does not start
What to do when is invalid because it does not start with a'-'
Start SQL Server with Docker & register initial data
The devise error message is not displayed properly.
[Error] ActiveRecord :: NoDatabaseError FATAL: database does not exist
Notes on building Rails6 / PostgreSQL with Docker Compose
Eclipse does not start after Java 11 is installed
Maven [ERROR] Bootstrap classpath not set with -source 1.7
[Docker for Mac] Deal with Credentials store error
How to use docker compose with NVIDIA Jetson
Many error lines ... Rails server does not start 2. "Autodetect': Could not find a JavaScript runtime."
Docker for Windows: MySQL container does not start when migrating from Hyper-v to WSL2
Solution for error with for db Cannot start service db: Ports are not available: listen tcp 0.0.0.0:5432: bind: address already in use in Docker