I'm working through the demos, of just running npm test / npm build in dagger, and noticing that everytime I run dagger run ... build.mts, that resolving the node:20.8.0-slim to a hash/image (which has already been cached) can take up to 10 seconds.
Which is weird but then also in the output, it's incorrectly attributed as only having taken 0.1s:
│ ▽ │ from node:20.8.0-slim
│ █ │ [0.11s] resolve image config for docker.io/library/node:20.8.0-slim
│ █ │ [0.02s] pull docker.io/library/node:20.8.0-slim
│ ┣ │ [0.01s] resolve docker.io/library/node:20.8.0-slim@sha256:8d26608b65edb3b0a0e1958a0a5a45209524c4df54bbe21a4ca53548bc97a3a5
So that looks fast, but when I ran it, the "resolve image config" timer actually spun up to ~10 seconds. I'm kinda wondering if docker.io has rate limiting / throttling--I know they have the "100 pulls / 6 hours", but it seems like even resolving node:20.8.0-slim --> sha256:... is taking awhile, even though I'm avoiding the actual image pull (as expected).
Usually it's ~3-5 seconds, but sometimes 10s. Fwiw I'm in the US midwest, with generally good Internet access.
Is there a way to cache the label -> sha resolution?
I'm hoping for docker-compose-ish speed, but so far each dagger run ... invocation takes ~30s each, even re-running "echo hello world" actions that are 100% cached, and this ~10s "resolve image config" is the biggest part of it.
Thanks!