Skip to content

Docker Container Sandbox

IDdocker_container
CategorySandboxes
FeaturesNone
DependenciesNone

Run commands and manage files in a Docker container tied to the session. The container is lazily started on first use and persists for the session duration. A self-hosted alternative to cloud sandbox providers like Daytona or E2B.

Experimental: This capability may change significantly in future releases.

Execute a command inside the Docker container.

ParameterTypeRequiredDescription
commandstringyesShell command to run
cwdstringnoWorking directory
timeout_msintegernoTimeout in milliseconds

Returns stdout, stderr, and exit code. Container is started automatically if not already running.

Read a text file from the container filesystem.

ParameterTypeRequiredDescription
pathstringyesFile path
offsetintegernoLine offset to start reading from
limitintegernoMaximum number of lines to return

Write a text file into the container filesystem.

ParameterTypeRequiredDescription
pathstringyesFile path
contentstringyesFile content

Retrieve recent logs from the Docker container.

ParameterTypeRequiredDescription
tailintegernoNumber of log lines to return

Stop the Docker container for this session.

Configure the Docker container via the capability settings:

SettingDescription
imageDocker image to use (e.g. ubuntu:24.04)
envEnvironment variables to inject
bindsHost path mounts
  • Only one container runs per session
  • The container is stopped when the session ends or docker_stop is called
  • Docker Engine must be accessible from the server running Everruns