Skip to content

Add container run --security-opt systempaths=unconfined#3533

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
austinvazquez:support-systempaths-unconfined
Oct 15, 2024
Merged

Add container run --security-opt systempaths=unconfined#3533
AkihiroSuda merged 1 commit into
containerd:mainfrom
austinvazquez:support-systempaths-unconfined

Conversation

@austinvazquez
Copy link
Copy Markdown
Member

@austinvazquez austinvazquez commented Oct 12, 2024

Issue #, if available:

Closes #2842

Description of changes:

This change adds security option to turn off confinement for system paths (masked paths, read-only paths) for the container.

This enables use cases running rootless buildkit with containerd backend within a nerdctl container.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@austinvazquez austinvazquez force-pushed the support-systempaths-unconfined branch from 02629ad to a95a8d6 Compare October 12, 2024 16:02
This change adds security option to turn off confinement for system
paths (masked paths, read-only paths) for the container.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
@austinvazquez austinvazquez force-pushed the support-systempaths-unconfined branch from a95a8d6 to c3c3f91 Compare October 12, 2024 17:34
@austinvazquez austinvazquez marked this pull request as ready for review October 12, 2024 17:35
@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone Oct 13, 2024
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 0a79d30 into containerd:main Oct 15, 2024
@austinvazquez austinvazquez deleted the support-systempaths-unconfined branch October 15, 2024 10:00
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.

Add systempaths=unconfined security option

2 participants