Commit e79425b
containerd: advertise remap-ids capability for soci proxy plugin
The soci proxy_plugins block does not declare the remap-ids
capability, so containerd's resolveSnapshotOptions does not recognize
the snapshotter as supporting ID remapping. For pods with user
namespaces (hostUsers: false) containerd falls back to slow-chown
remapping, then soci's mount callback remaps the already-remapped host
UIDs, and the sandbox fails with "container ID cannot be mapped to a
host ID".
Declaring capabilities = ["remap-ids"] lets containerd pass the idmap
labels and skip slow chown, allowing user-namespace pods to start.
Related: awslabs/soci-snapshotter#1888
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8d7af94 commit e79425b
3 files changed
Lines changed: 3 additions & 0 deletions
File tree
- packages
- containerd-1.7
- containerd-2.1
- containerd-2.2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments