用于不受信任的代码执行的安全沙箱系统

时间:2021-06-28 19:33:19
【文件属性】:
文件名称:用于不受信任的代码执行的安全沙箱系统
文件大小:16KB
文件格式:ZIP
更新时间:2021-06-28 19:33:19
sandbox code-execution 神盒用于不受信任的代码执行的安全沙箱系统。它使用了使用 Linux 内核特定功能的隔离,因此 Godbox 无法在 Linux 之外正常运行。安装Docker 撰写version :" 3"services :godbox :image :quantumsheep/godbox:2privileged :trueports : -8080:8080码头工人docker run -it -d --privileged -p 8080:8080 quantumsheep/godbox:2用法发布/运行特性名称 类型 描述 阶段* Phase[] 执行阶段(检查下面的示例) 文件* string Base64 编码的 zip 文件,包含阶段中使用的文件 环境 Record 所有阶段使用的环境变量 沙盒设置 SandboxSettings 覆盖默认沙箱限制设置 interfaceSandboxSettings{run_time_limit ?:number=5;extra_time_limit ?:number=0;wall_time_limit ?:number=10;stac
【文件预览】:
godbox-master
----.dockerignore(9B)
----Cargo.toml(538B)
----.github()
--------workflows()
----src()
--------main.rs(2KB)
--------runner()
--------api_helpers.rs(2KB)
--------routes()
--------isolate.rs(11KB)
----Dockerfile(226B)
----LICENSE(1KB)
----README.md(9KB)
----docker-compose.yml(620B)
----Dockerfile.dev(356B)
----.gitignore(379B)

网友评论