[security] devcontainers and gVisor #127
hellodword
started this conversation in
Ideas
Replies: 2 comments
-
Debugging: {
"image": "mcr.microsoft.com/devcontainers/cpp:ubuntu-22.04",
"runArgs": [
"--runtime", "runsc"
]
}
Follow https://stackoverflow.com/a/35860616
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi 👋 I have tried to experiment with gVisor to prevent container escapes. I wonder if you'd need to update
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As we both know, container is not a sandbox, it shares kernel with the host, so it maybe dangerous.
And for developers, it's impossible to review and audit all dependencies and tools, how to protect people from bad guys is a real-world problem.
It's hard to do hardening for this entire ecosystem, but we can use gVisor to gain cheap security.
Here is the description about gVisor:
Currently this is not a feature request, I'm trying to do some tests and here are some records.
A simple usage:
I must to say it works fine for normal usage, but I believe there're some issues in the corners (debugging or something else), I'll record and try to find them.
Beta Was this translation helpful? Give feedback.
All reactions