- Added
processes
limits option to limit the number of processes that a sandbox can run. For example, it can be used to prevent a fork bomb or do not allow the sandboxed code to create new processes. It's unlimited by default. #9
- Migrated from the
docker-py
Docker library todocker
version>=2
. epicbox.create
,epicbox.start
,epicbox.destroy
now return and accept aSandbox
object instead of a low-level containerdict
structure.- Removed the obsolete
base_workdir
argument fromepicbox.configure
.
- Unpinned and bumped versions of dependency packages in
pyproject.toml
andrequirements.txt
.
- Initial release on PyPI. (#5)
- Fix docker volume cleanup if an exception is raised during its usage.