nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

Preventing nerdctl from pulling image from remote registry when exist locally

Open sanzenwin opened this issue 2 years ago • 1 comments

What is the problem you're trying to solve

if an image exist locally, Preventing nerdctl from pulling it from remote registry.

nerdctl --version

nerdctl version 1.7.2

Describe the solution you'd like

Just skip the pulling operation

Additional context

No response

sanzenwin avatar Jan 09 '24 20:01 sanzenwin

Could you elaborate?

AkihiroSuda avatar Jan 10 '24 00:01 AkihiroSuda

@sanzenwin

Isn't this implemented with --pull missing on run?

docker tag debian you/test
docker push you/test
nerdctl run --pull missing you/test cat /etc/issue

docker tag busybox you/test
docker push you/test
nerdctl run --pull missing you/test cat /etc/issue

Also pull missing is the default behavior IIRC.

apostasie avatar Aug 12 '24 23:08 apostasie

@AkihiroSuda OP is unresponsive, and unless I am missing something, there is no issue here. Should this be closed?

apostasie avatar Aug 25 '24 00:08 apostasie