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 GiebenandPasha Sviderski authored and GitHub committed 2026-03-24 16:18:53 +10:00
1 parent 2ab58d24d4
commit 98439b7743
8 files changed
+29

No files matched your search

+1
View File
@@ -627,6 +627,7 @@ func (s *Server) CreateServiceContainer(
Binds: spec.Container.Volumes,
Init: spec.Container.Init,
Mounts: mounts,
PidMode: spec.Container.Pid,
PortBindings: portBindings,
Privileged: spec.Container.Privileged,
Resources: container.Resources{