Skip to content

Initial Release

Compare
Choose a tag to compare
@edwardUL99 edwardUL99 released this 14 Jun 18:30
· 12 commits to main since this release

This is the initial release of the library. To see what the library provides, see the README.md file in this release. It is an experimental release as it is a library that I have completed in my free time.

I produced this library with inspiration from StepicOrg/epicbox for Python. I wanted to experiment with how to produce a similar library for use in Java and I have come up with a lightweight version (lightweight as it doesn't support as many features (especially with limits) as epicbox does).

Known Issues:

  • If stdin is provided to a DockerSandbox.run call but the command provides doesn't use stdin, the calling thread gets blocked.
  • The only limits available are CPU count and Memory. There is no timeout feature yet
  • If the command continuously reads from stdin without terminating until a Ctrl-D character is received, the thread will also be blocked as the container won't terminate until that Ctrl-D is hit (relates to the timeout issue). The command cat without any arguments or - is a common one where this issue may occur, so if this command is received, a Ctrl-D character is added to the end of the stdin input