🐳 沙箱环境

This commit is contained in:
Liang Ding 2019-05-16 12:48:44 +08:00
parent 41e2316cc5
commit 6bc8f32e85
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ func Load(confPath, confUsers, confIP, confPort, confServer, confLogLevel, confS
_, err := cmd.CombinedOutput()
if nil != err {
logger.Warn("Not found 'docker' installed, running user's code will cause security problem")
} else {
Docker = true
}
}