Merge pull request #163 from mrunalp/uts_no_share
Don't share container UTS namespace with pod
This commit is contained in:
commit
0ef2fc937b
1 changed files with 0 additions and 1 deletions
|
@ -298,7 +298,6 @@ func (s *Server) createSandboxContainer(containerID string, containerName string
|
||||||
|
|
||||||
for nsType, nsFile := range map[string]string{
|
for nsType, nsFile := range map[string]string{
|
||||||
"ipc": "ipc",
|
"ipc": "ipc",
|
||||||
"uts": "uts",
|
|
||||||
"network": "net",
|
"network": "net",
|
||||||
} {
|
} {
|
||||||
nsPath := fmt.Sprintf("/proc/%d/ns/%s", podInfraState.Pid, nsFile)
|
nsPath := fmt.Sprintf("/proc/%d/ns/%s", podInfraState.Pid, nsFile)
|
||||||
|
|
Loading…
Reference in a new issue