Skip to content

A Docker-powered NodeJS sandbox to execute untrusted python code.

Notifications You must be signed in to change notification settings

muz3/docker-python-sandbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Python sandbox

This is a fork of christophetd/docker-python-sandbox.

Changes

  • To support Docker on Mac, exposed ports on Docker instances (specifically the :3000 port which receives the Python code to be executed) are published on the host machine to a random other port. This library then accesses the container via a URL like "localhost:32456" instead of the container directly such as "127.17.0.1" This fixes an issue where the library would not work on Mac: see this and this for more context.

About

A Docker-powered NodeJS sandbox to execute untrusted python code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • Shell 1.8%
  • Dockerfile 0.6%