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

default snapshotter configuration overrides containerd namespace-based defaults #4033

Open
wdsun1008 opened this issue Mar 24, 2025 · 0 comments · May be fixed by #4034
Open

default snapshotter configuration overrides containerd namespace-based defaults #4033

wdsun1008 opened this issue Mar 24, 2025 · 0 comments · May be fixed by #4034
Labels
bug Something isn't working

Comments

@wdsun1008
Copy link

Description

The current nerdctl implementation sets a global default snapshotter (overlayfs), which overrides containerd's namespace-specific snapshotter configuration defined via namespace labels (ref). According to containerd's design, the default snapshotter for a namespace is resolved only when no snapshotter is explicitly specified.

Steps to reproduce the issue

  1. Configure a containerd namespace (e.g., k8s.io) with a label containerd.io/snapshotter=devmapper.
  2. Run nerdctl -n k8s.io run ... without specifying --snapshotter.
  3. Observe that nerdctl still uses overlayfs instead of the namespace-configured devmapper.

Describe the results you received and expected

If no --snapshotter is provided, nerdctl should defer to containerd's resolution logic, honoring namespace-level defaults.

What version of nerdctl are you using?

v2.0.4

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@wdsun1008 wdsun1008 added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Mar 24, 2025
@AkihiroSuda AkihiroSuda added bug Something isn't working and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants