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

Pre-open directories and other capabilities #266

Open
devigned opened this issue Aug 23, 2023 · 3 comments
Open

Pre-open directories and other capabilities #266

devigned opened this issue Aug 23, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@devigned
Copy link
Contributor

devigned commented Aug 23, 2023

In this Slack conversation and #265, we have started to discuss the fact that we are pre-opening the container root filesystem (fs) to the Wasm guest application. Pre-opening the root fs for use by the guest Wasm app is intended to enable users to build Wasm apps that feel more like the apps they know and love running in containers.

The default for many Wasm runtimes is to offer the guest no capabilities. This least privileged approach is one of the key features of Wasm.

We may want to reconsider pre-opening the container root fs in the future. Perhaps, we can replace the default behavior with a user specified behavior, opt'ing in to the pre-open. Additionally, we may also want to consider how other capabilities could be expressed by the user.

@devigned devigned added the enhancement New feature or request label Aug 23, 2023
@jsturtevant
Copy link
Contributor

discussion with some historical context in https://cloud-native.slack.com/archives/C04LTPB6Z0V/p1692799401937929

Is this another area where having specific wasi runtime configuration might be helpful?

@Mossaka
Copy link
Member

Mossaka commented Jun 4, 2024

related: spinkube/containerd-shim-spin#108

see @jsturtevant comment at the bottom

@Mossaka
Copy link
Member

Mossaka commented Jun 4, 2024

This might be shim specific and we want to provide some guidance on how to do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants