Skip to content

[v0.20] cherry-picks for v0.20.1#5803

Merged
crazy-max merged 6 commits intomoby:v0.20from
crazy-max:0.20_picks_0.20.1
Mar 5, 2025
Merged

[v0.20] cherry-picks for v0.20.1#5803
crazy-max merged 6 commits intomoby:v0.20from
crazy-max:0.20_picks_0.20.1

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Mar 3, 2025

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@github-actions github-actions Bot added area/dependencies Pull requests that update a dependency file area/buildkitd labels Mar 3, 2025
Should help with segmentation fault on libc-bin

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Fix issue 5763

- Discourage `--oci-worker-no-process-sandbox`, due to the leakage of
  the processes (by design).
  Instead, encourage setting `systempaths=unconfined` in `docker run`.
  This corresponds to `securityContext.procMount: Unmasked` in Kubernetes,
  however, the configuration is hard on Kubernetes, as it has to be used
  in conjunction with `hostUsers: false`.

- Remove `--device /dev/fuse`, as fuse-overlayfs is no longer used typically.

- Use the new Kubernetes struct for AppArmor

- Add a hint about `kernel.apparmor_restrict_unprivileged_userns`

- Remove `$` from command snippets for ease of copypasting

- Make `job.*.yaml` more practical

- Add `*.userns.yaml`. Needs `UserNamespaceSupport` feature gate to be enabled.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@crazy-max crazy-max marked this pull request as ready for review March 4, 2025 14:53
Base image may use unnormalized platform so if platform
is inherited normalize needs to be called again.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Brings in the gRPC message size fix for writing SBOMs.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there aren't any other containerd changes in vendor with 2.0.3 bump. Otherwise there is a patch without vendor update also in #5785

@crazy-max crazy-max merged commit de56a3c into moby:v0.20 Mar 5, 2025
@crazy-max crazy-max deleted the 0.20_picks_0.20.1 branch March 5, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants