Skip to content

fix: disable user containerd by default for non-Linux guests#5065

Closed
RoySerbi wants to merge 1 commit into
lima-vm:masterfrom
RoySerbi:fix/containerd-default-non-linux
Closed

fix: disable user containerd by default for non-Linux guests#5065
RoySerbi wants to merge 1 commit into
lima-vm:masterfrom
RoySerbi:fix/containerd-default-non-linux

Conversation

@RoySerbi
Copy link
Copy Markdown

@RoySerbi RoySerbi commented Jun 1, 2026

Fixes #5037.

containerd.user was defaulted from the guest architecture only, so macOS guests on x86_64 or aarch64 enabled user containerd and pulled the nerdctl archive even though containerd/nerdctl are Linux guest functionality.

This keeps the existing default for Linux guests on x86_64 and aarch64, but defaults containerd.user to false for non-Linux guests.

I also added a small table test for the defaulting behavior across Linux and Darwin guests.

Local check:

  • git diff --check

I could not run go test locally because this Windows environment does not have the Go toolchain installed.

@AkihiroSuda
Copy link
Copy Markdown
Member

Duplicate:
#5041

Also missing DCO sign

@RoySerbi
Copy link
Copy Markdown
Author

RoySerbi commented Jun 2, 2026

Thanks @AkihiroSuda — closing as duplicate of #5041.

@RoySerbi RoySerbi closed this Jun 2, 2026
@RoySerbi RoySerbi deleted the fix/containerd-default-non-linux branch June 4, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FillDefault enables containerd.user for macOS guests on aarch64 — nerdctl unnecessarily downloaded

2 participants