mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 11:16:27 +02:00
Use express-validator, refactor
This commit is contained in:
parent
a0693fb3a2
commit
e80bb0372b
6 changed files with 261 additions and 226 deletions
|
@ -167,7 +167,7 @@ Content-Type: application/json
|
|||
- typescript
|
||||
|
||||
#### Principle of Operation
|
||||
Piston utilizes LXC as the primary mechanism for sandboxing. There is a small API written in Go which takes
|
||||
Piston utilizes LXC as the primary mechanism for sandboxing. There is a small API written in Node which takes
|
||||
in execution requests and executes them in the container. High level, the API writes
|
||||
a temporary source and args file to `/tmp` and that gets mounted read-only along with the execution scripts into the container.
|
||||
The source file is either ran or compiled and ran (in the case of languages like c, c++, c#, go, etc.).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue