What is a container?

A container is an isolated process that shares the kernel of the machine it runs on. It has its own files, network and process list, and it runs any OCI image.

Updated

How a container isolates code

The Linux kernel gives each container its own view of the file system, the network and the process list, and limits the CPU and memory it can use. All containers on a machine still call the same kernel.

What that means for a sandbox

A container starts fast and runs any OCI image, so an existing Docker image works as a sandbox. The shared kernel is the trade-off. A microVM or a user-space kernel puts one more layer between the code and the host.

Compared with other isolation types

How each type keeps sandboxes apart

TypeOwn kernelProviders
MicroVM43
ContainerThis termNo10
User-space kernelIn user space5
Full VM19

Providers that use containers

6 of 10
All Container sandboxes
  • Containarium CloudHosted Linux boxes for AI agents, reached over SSH.
    Isolation
    Container
    vCPU / hr
    $0.020
    Free tier
    Free tier
  • AgentBayCloud sandboxes for browser, desktop, mobile and code.
    Isolation
    Container
    vCPU / hr
    $0.027
    Free tier
    Free Basic plan
  • BytePlus AI Cloud Native SandboxServerless container sandboxes for AI task execution.
    Isolation
    Container
    vCPU / hr
    $0.035
    Free tier
    Not listed
  • DaytonaStateful sandboxes that boot from OCI-compliant images.
    Isolation
    Container
    vCPU / hr
    $0.050
    Free tier
    $200 credit
  • Beam SandboxesCloud sandboxes for running AI-generated code.
    Isolation
    Container
    vCPU / hr
    $0.068
    Free tier
    Not listed
  • Gemini Enterprise Agent Platform Code ExecutionManaged sandboxes that run code for AI agents.
    Isolation
    Container
    vCPU / hr
    $0.085
    Free tier
    50 vCPU-hours and 100 GiB-hours free per month

Container compared

Related terms

All glossary terms

Related