Skip to content

Unable to start the APIs in containers using services-local.yml #7

@ershadnozari

Description

@ershadnozari

I successfully start the infrastructure related containers using the command docker-compose -f .\infrastructure.yml up -d. However, I am unable to start the APIs using the docker-compose -f services-local.yml up. I'm getting the flowing error:

WARNING: Found orphan containers (prometheus, consul, rabbitmq, redis, fabio, jaeger, grafana, seq, mongo, vault) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Building api-gateway
Traceback (most recent call last):
  File "docker-compose", line 6, in <module>
  File "compose\cli\main.py", line 72, in main
  File "compose\cli\main.py", line 128, in perform_command
  File "compose\cli\main.py", line 1077, in up
  File "compose\cli\main.py", line 1073, in up
  File "compose\project.py", line 548, in up
  File "compose\service.py", line 367, in ensure_image_exists
  File "compose\service.py", line 1106, 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
[11788] Failed to execute script docker-compose

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions