Skip to content

Run code in isolated docker containers, managed through a REST interface.

License

Notifications You must be signed in to change notification settings

jslightham/rest-remote-code-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-remote-code-server

Remote code execution in isolated docker containers controlled through a REST interface. Automatically build images, and create, start, and remove containers.

Running Application

If you would like to run the application you need to start by first installing:

  1. NodeJS 16 or later - https://nodejs.org/en/download/
  2. Docker - https://docs.docker.com/engine/install/ubuntu/

Clone the repository, and run the following:

# install dependencies
npm install

# server with hot reload (optional, requires nodemon)
nodemon

# running the server
node index.js

# As soon as the server starts, it will begin downloading all of the required docker images. The progress of the download will be displayed in the console. No code can be run until all of the docker images have been pulled. 

Configuration

Configuration for the application is done in the config.js file.

About

Run code in isolated docker containers, managed through a REST interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published