feat: support PID namespace mode in Compose (#276)

This adds `pid: host` compose key support.

Modelled after #238.

See: #237

Signed-off-by: Miek Gieben <miek@miek.nl>
Co-authored-by: Pasha Sviderski <me@psviderski.name>
This commit is contained in:
Miek Gieben
2026-03-24 16:18:53 +10:00
committed by GitHub
co-authored by Pasha Sviderski
parent 2ab58d24d4
commit 98439b7743
8 changed files with 29 additions and 0 deletions
@@ -38,6 +38,7 @@ If you rely on a specific Compose feature that is not supported by Uncloud, plea
| `mem_swappiness` | ❌ Not supported | |
| `memswap_limit` | ❌ Not supported | |
| `networks` | ❌ Not supported | All containers share cluster network |
| `pid` | ✅ Supported | Set the PID namespace mode, `pid: host` only |
| `ports` | ⚠️ Limited | `mode: host` only, use [`x-ports`](#x-ports) for HTTP/HTTPS |
| `privileged` | ✅ Supported | Run containers in privileged mode |
| `pull_policy` | ✅ Supported | `always`, `missing`, `never` |