@@ -14,15 +14,17 @@ sandlock run -w /tmp -r /usr -m 512M -- python3 untrusted.py
1414Containers and VMs are powerful but heavy. Sandlock targets the gap: strict
1515confinement without image builds, overlay filesystems, or root privileges.
1616
17- | Feature | Sandlock | Container | gVisor |
18- | ---| ---| ---| ---|
19- | Root required | No | Yes* | Yes |
20- | Image build | No | Yes | Yes |
21- | Startup time | ~ 1 ms (fork) | ~ 200 ms | ~ 100 ms |
22- | Filesystem isolation | Landlock | Overlay | ptrace/KVM |
23- | Network isolation | Landlock + seccomp notif | Network namespace | Sentry kernel |
24- | Syscall filtering | seccomp-bpf | seccomp | Sentry kernel |
25- | Resource limits | seccomp notif + rlimit | cgroup v2 | cgroup v2 |
17+ | Feature | Sandlock | Container | MicroVM (Firecracker) | gVisor |
18+ | ---| ---| ---| ---| ---|
19+ | Root required | No | Yes* | Yes (KVM) | Yes |
20+ | Image build | No | Yes | Yes | Yes |
21+ | Startup time | ~ 1 ms (fork) | ~ 200 ms | ~ 100 ms | ~ 100 ms |
22+ | Kernel | Shared | Shared | Separate guest | Shared (sentry) |
23+ | Filesystem isolation | Landlock | Overlay | Block-level (QCOW2) | ptrace/KVM |
24+ | Network isolation | Landlock + seccomp notif | Network namespace | TAP device | Sentry kernel |
25+ | Syscall filtering | seccomp-bpf | seccomp | N/A (full kernel) | Sentry kernel |
26+ | Resource limits | seccomp notif + rlimit | cgroup v2 | VM config | cgroup v2 |
27+ | Checkpoint/restore | ptrace + BranchFS | CRIU | VM snapshot | N/A |
2628
2729\* Rootless containers exist but have significant limitations.
2830
0 commit comments