프로젝트
GitHub에서 보기
langgenius/dify-sandbox
소개
여러 프로그래밍 언어를 지원하는 가볍고 빠르며 안전한 코드 실행 환경입니다.
프로그래밍 언어 및 런타임측정된 스타 증가
- in 24h
- +1
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDify-Sandbox
Introduction
Dify-Sandbox offers a simple way to run untrusted code in a secure environment. It is designed to be used in a multi-tenant environment, where multiple users can submit code to be executed. The code is executed in a sandboxed environment, which restricts the resources and system calls that the code can access.
Use
Requirements
DifySandbox currently only supports Linux, as it's designed for docker containers. It requires the following dependencies:
- libseccomp
- pkg-config
- gcc
- golang 1.20.6
Steps
- Clone the repository using
git clone https://github.com/langgenius/dify-sandboxand navigate to the project directory. - Run ./install.sh to install the necessary dependencies.
- Run ./build/build_[amd64|arm64].sh to build the sandbox binary.
- Run ./main to start the server.
If you want to debug the server, firstly use build script to build the sandbox library binaries, then debug as you want with your IDE.
FAQ
Refer to the FAQ document
Workflow

관련 프로젝트 살펴보기
불러오는 중…