🐳 沙箱环境
This commit is contained in:
parent
41e2316cc5
commit
6bc8f32e85
|
@ -96,6 +96,8 @@ func Load(confPath, confUsers, confIP, confPort, confServer, confLogLevel, confS
|
||||||
_, err := cmd.CombinedOutput()
|
_, err := cmd.CombinedOutput()
|
||||||
if nil != err {
|
if nil != err {
|
||||||
logger.Warn("Not found 'docker' installed, running user's code will cause security problem")
|
logger.Warn("Not found 'docker' installed, running user's code will cause security problem")
|
||||||
|
} else {
|
||||||
|
Docker = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue