Support additional run arguments (network & pid)
#539
QuentinLeloire
started this conversation in
Ideas
Replies: 0 comments
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.
-
runArgscan't be inherited from prebuilt base image, we need to put it in the devcontainer.json even if declared in prebuilt base image.It should be useful to implement
networkandpidflags likecapAdd,privilegedandsecurityOptactually does.This approach would enable the sharing of these flags through prebuilt base image with an implementation like this :
{ "name": "Custom image", "build": { "dockerfile": "Dockerfile", "args": { "devcontainercli": "true" } }, "capAdd": ["ALL"], "securityOpt": ["seccomp=unconfined"], "privileged": true, "network": "host", "pid": "host", [...] }Beta Was this translation helpful? Give feedback.
All reactions