#Using a service seems to always invalidate cache

1 messages · Page 1 of 1 (latest)

celest beacon
boreal spire
#

👋 that's because we're intentionally using WithEnvVariable and endpoint to invalidate the cache since we want tests to run each time and not to be cached. If you want caching, you can safely remove that and use something like WithServiceBinding("dockerd", dockerdService).WithEnvVariable("DOCKER_HOST", "tcp://dockerd:2375") which won't invalidate the cache

celest beacon
#

Oh I did not know that. I guess this would be a good cookbook entry. How to run a sidecar dind. I know I'll be using that pattern a bunch.

boreal spire
celest beacon