Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nerdctl show and delete cri images #3730

Open
ningmingxiao opened this issue Dec 4, 2024 · 5 comments
Open

nerdctl show and delete cri images #3730

ningmingxiao opened this issue Dec 4, 2024 · 5 comments

Comments

@ningmingxiao
Copy link
Contributor

ningmingxiao commented Dec 4, 2024

What is the problem you're trying to solve

 crictl pull registry.aliyuncs.com/google_containers/pause:3.5 
Image is up to date for sha256:ed210e3e4a5bae1237f1bb44d72a05a2f1e5c6bfe7a7e73da179e253426

nerdctl can't delete k8s image

nerdctl  -n k8s.io images
registry.aliyuncs.com/google_containers/pause    3.5       1ff6c18fbef2    51 seconds ago    linux/amd64    668.0 KiB    294.4 KiB
registry.aliyuncs.com/google_containers/pause    <none>    1ff6c18fbef2    51 seconds ago    linux/amd64    668.0 KiB    294.4 KiB
<none>                                           <none>    1ff6c18fbef2    51 seconds ago    linux/amd64    668.0 KiB    294.4 KiB

Describe the solution you'd like

use nerdctl cri images list images
use nerdctl cri rmi delete images

Additional context

nerdctl 1.7

@ningmingxiao ningmingxiao changed the title nerdctl show cri images nerdctl show and delete cri images Dec 4, 2024
@fahedouch
Copy link
Member

Nerdctl do not implement the cri interface. IMO it should be done through cri otherwise I'm afraid it could Conflicts with the cri operations

@ningmingxiao
Copy link
Contributor Author

ningmingxiao commented Dec 4, 2024

nerdctl may call cri interface like crictl to manage k8s images.

@fahedouch
Copy link
Member

fahedouch commented Dec 4, 2024

I am not sure that's the target

#3671 (comment)

@ningmingxiao
Copy link
Contributor Author

I am not sure that's the target

#3671 (comment)

Maybe not ,crictl doesn't care about containerd config. we should not care about containerd config.

@ningmingxiao
Copy link
Contributor Author

ningmingxiao commented Dec 4, 2024

later we can nerdctl cri pods , nerdctl cri images. to manage cri resources just use one binary. what do you think ? @AkihiroSuda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants