krakend / playground-community

Get started with KrakenD. A docker compose with KrakenD and a fake api to play with
Apache License 2.0
411 stars 155 forks source link

=> ERROR [fake_api 1/1] FROM docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63 #32

Closed shyamsundareg closed 2 years ago

shyamsundareg commented 2 years ago

I facing error with cache key and there is nothing like "http://fake_api:8080" as stated in krakend.json


[fake_api 1/1] FROM docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63:

failed to solve: rpc error: code = Unknown desc = failed to load cache key: invalid empty config file resolved for docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63

alombarte commented 2 years ago

You have probably modified the docker-compose file, a clean clone should work just fine.

The service http://fake_api:8080 is declared exactly here and is accessible by KrakenD. If you want to access it from your machine then you'll need http://localhost:8000: https://github.com/devopsfaith/krakend-playground/blob/master/docker-compose.yml#L24

github-actions[bot] commented 2 years ago

This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.