Locked · Module 6, lesson 4 of 9

Running the agent's commands inside the sandbox

Move `run_command` into the container, set memory, process and time limits, read what happens when a command breaks a limit, and show the same tests pass inside and outside.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

A sandbox in a container: what Docker isolates and what it does notNext: Permissions: allow lists, refusals and why a list beats a filter