profianinc / infrastructure

[RIP] Profian Inc Network Infrastructure
GNU Affero General Public License v3.0
9 stars 5 forks source link

Run `benefice` workloads via rootless OCI engine #131

Open rvolosatovs opened 2 years ago

rvolosatovs commented 2 years ago

Currently, Benefice workloads are executed via Docker, which means that they're essentially executed as root (and benefice user also has privileged access to the system, since it has to be in docker group) Naturally, we want to avoid this and using podman could be a way to do that. Unfortunately I was unable to make podman work for this use case with TEEs, on SGX I'd get "OCI permission denied" on AESMD socket and SEV execution would fail with "system miconfigured" reported by Enarx. Refs https://github.com/profianinc/nixpkgs/pull/18