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

c2w CLI does not work on Container Environments #294

Open
sr229 opened this issue Jul 6, 2024 · 2 comments
Open

c2w CLI does not work on Container Environments #294

sr229 opened this issue Jul 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@sr229
Copy link

sr229 commented Jul 6, 2024

Trying to run c2w on a Cloud IDE utilising either a Firecracker VM or Docker in its backend results in c2w not working because it tries to mount /rootfs/dev/null which is not permitted by the environment.

This is replicable using Gitpod or CSB.

image

@ktock
Copy link
Owner

ktock commented Jul 9, 2024

Thanks for posting that issue. Currently that file is created during image conversion but yes, that won't work in some environment and that should be created during runtime.

@ktock ktock added the enhancement New feature or request label Jul 9, 2024
@microchipgnu
Copy link

microchipgnu commented Jul 18, 2024

I tried something here https://github.com/microchipgnu/container4container2wasm

Take a look and let me know if this makes sense.

It worked for me, but looking for ways to improve 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
None yet
Development

No branches or pull requests

3 participants