Merge pull request #163 from mrunalp/uts_no_share

Don't share container UTS namespace with pod
This commit is contained in:
Antonio Murdaca 2016-10-18 23:30:28 +02:00 committed by GitHub
commit 0ef2fc937b

View file

@ -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)