speedscale / speedscale-cli

Speedscale CLI tool. Capture and inspect requests made to local services.
http://speedscale.com
Apache License 2.0
78 stars 2 forks source link

Cannot run docker-compose: docker images are hosted on Google Cloud, which I don't have access to #6

Closed micheltank closed 2 years ago

micheltank commented 2 years ago

When running: docker-compose --file docker-proxy-capture.yaml --env-file config.env up -d I got: ERROR: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication

These images should be in a public image registry.

swtch1 commented 2 years ago

Thank you Michel. We discussed this in the Speedscale Community Slack, but I will respond here for completeness.

To be clear this is referencing our internal CLI tool speedctl which has yet to merge with the speedscale-cli here.

This is a bug where we initialize your Speedscale config.yaml file with container-registry: gcr.io/speedscale. The fix is to change this line to container-registry: public.ecr.aws/speedscale and re-generate the docker-compose file. We will correct the registry setting in an upcoming release.