This commit is contained in:
Liang Ding 2014-12-17 17:46:48 +08:00
parent a9897de8e7
commit d5a70c5b1a
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func RunHandler(w http.ResponseWriter, r *http.Request) {
}
cmd.SysProcAttr.UidMappings = []syscall.SysProcIDMap{{ContainerID: 0, HostID: 1001, Size: 1}}
cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{ContainerID: 0, HostID: 1001, Size: 1}}
cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{ContainerID: 0, HostID: 1000, Size: 1}}
stdout, err := cmd.StdoutPipe()
if nil != err {