Skip to content

Commit 5ceea5c

Browse files
committed
Add MicroVM column to comparison matrix in README
Signed-off-by: Cong Wang <cwang@multikernel.io>
1 parent 39375e0 commit 5ceea5c

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ sandlock run -w /tmp -r /usr -m 512M -- python3 untrusted.py
1414
Containers and VMs are powerful but heavy. Sandlock targets the gap: strict
1515
confinement 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

Comments
 (0)