Skip to content

Sandboxing inside Docker #8

@Gorgeous-Patrick

Description

@Gorgeous-Patrick

我需要在docker 容器内运行sandbox,请问怎么实现。我现在尝试的方法是在docker privilege 模式下运行。
image
这个被运行程序是一个最简单的hello world。

#include<iostream>

int main() {
    std::cout << "Hello, world" << std::endl;
    return 0;
}

我了解到在docker里面使用sandbox技术可能有些困难,但是似乎您在go-judge项目当中完全将go-sandbox包装进了docker里面,我想请教一下这是如何完成的,谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions