containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
Apache License 2.0
7.63k stars 565 forks source link

Allow option to use locally cached images when building images #3073

Closed sondavidb closed 2 weeks ago

sondavidb commented 3 weeks ago

What is the problem you're trying to solve

When building an image, I sometimes use local images that are not up to date with the tagged version in remote, but nerdctl will automatically pull from remote when it is out of date.

Describe the solution you'd like

I would like to be able to choose whether or not nerdctl pulls from remote. Currently, it uses buildkit's default, which for me is pulling from remote.

Additional context

No response