refactor: remove docker dependency for Pid container property

This commit is contained in:
Pasha Sviderski
2026-03-24 18:29:45 +10:00
parent 18ea1bc4a6
commit ada9bec2d4
6 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ func TestContainerSpec_Clone(t *testing.T) {
original := ContainerSpec{
CapAdd: []string{"NET_ADMIN"},
CapDrop: []string{"ALL"},
Pid: container.PidMode("host"),
PidMode: "host",
Command: []string{"sh", "-c", "echo hello"},
Entrypoint: []string{"/bin/bash"},
Env: EnvVars{