buildkitd: use userns by default for oci worker

Open
#766 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
security

Research direction

Start by tracing the OCI worker, snapshotter mapping, and userns handling entry points, comparing rootless and non-rootless behavior. Done means workers use userns by default, snapshotters map to an unprivileged range, and existing installations continue working without breakage.

Written by the indexing model from the issue text.

Description

area/security kind/enhancement

We could map snapshotters to an unprivileged range by default and always run workers with userns (even when not using rootless) for extended security.

Should implement without breaking old installations.

@AkihiroSuda

Dominant language
Go
Stars
10.3k
Forks
1.5k
Avg merge
1d 23h
Merged PRs (30d)
48

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from moby/buildkit

All issues in moby/buildkit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.