cargo-sandbox
cargo-sandbox copied to clipboard
Override the default seccomp profile
I've added two new profiles in static/seccomp/. We should hook them up to the create_container API, somewhere in CreateContainerArgs probably.
I've made progress on this - it turns out the Docker docs are incorrect, you need to provide the seccomp profile inline.
The bigger question is figuring out how this profile will make it to the host. Currently I have a build script that places it on disk so that I don't have to carry it around in the binary. Longer term... idk.