Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit d637321

Browse files
committed
Share the same pid namespace in a sandbox
Signed-off-by: fupan <[email protected]>
1 parent b03861a commit d637321

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

daemon/pod/sandbox.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ func startSandbox(spec *apitypes.UserPod, kernel, initrd string) (sandbox *vc.Sa
7272
ShimType: defaultShim,
7373
ShimConfig: vc.ShimConfig{},
7474

75+
SharePidNs: true,
76+
7577
// NetworkModel: vc.CNMNetworkModel,
7678
// NetworkConfig: vc.NetworkConfig{},
7779
}

0 commit comments

Comments
 (0)