epicbox
epicbox copied to clipboard
Run untrusted code in secure Docker based sandboxes
Hi, I have a script which compiles some c++ code in a docker container, and it works fine in macOs, but when my friend tried running it on Windows he...
Is there a way to run multiple files in one docker?
**I got the following error when trying to run a simple python script.** Traceback (most recent call last): File "/app/./test_sandbox.py", line 10, in result = epicbox.run('python', 'python3 main.py', files=files, limits=limits)...
File "main.py", line 8, in import epicbox File "/home/runner/Random-stuff/epicbox.py", line 3, in epicbox.configure( AttributeError: partially initialized module 'epicbox' has no attribute 'configure' (most likely due to a circular import)
Is it possible to use an existing directory on the host as working directory? Allowing access to the files inside.
Hi there. I'm following the docker swarm example and I'm unable to get it to work. I have exposed the remote docker API port at 2375 as per https://success.docker.com/article/how-do-i-enable-the-remote-api-for-dockerd, however...
I come without a lot of docker experience. But in the file sandboxes.py, the run function has a named parameter **workdir**. This is passed down the chain all the way...
Возможность подключаться к докеру безопасно, через TLS.
I'm using an external docker daemon. ` epicbox.configure(profiles=[epicbox.Profile('python', 'python:3.11-slim')], docker_url=f'tcp://{settings.DOCKER_ENGINE_ADDR}:2375') files = [{'name': 'main.py', 'content': self.get_untrusted_code()}] ` This code works well, but I want to secure my docker daemon via...
When I try to connect to the docker service of ubuntu on the same LAN on Windows. The error is reported as follows  my code is here: 