Repository navigation
EN Providers Docker Resources
lkmavi edited this page Sep 24, 2026
·
1 revision
Docker applies CPU, memory, and PIDs as container runtime limits. Omitting
--memory leaves memory uncapped (OpenShell parity on the Docker path).
| Flag | Example | Effect |
|---|---|---|
--cpu |
2 |
NanoCPUs |
--memory |
2g, 512m
|
HostConfig.Memory |
--pids-limit |
2048, -1
|
cgroup PIDs; -1 unlimited |
Default PIDs limit is 2048 when unset (OpenShell sandbox_pids_limit).
Set WHALESHELL_SANDBOX_PIDS_LIMIT=0 for unlimited.
Priority: flag → template → config.yaml → env.
# ~/.config/whaleshell/config.yaml
defaults:
memory: 2g
cpu: 2
pids_limit: 2048export WHALESHELL_DEFAULT_MEMORY=2g
export WHALESHELL_DEFAULT_CPU=2
export WHALESHELL_DEFAULT_PIDS_LIMIT=2048There is no hard-coded create memory. Operators opt in via flag, template, config, or env.
The egress sidecar uses a slim base image (debian:bookworm-slim), not the
agent image. Override with WHALESHELL_PROXY_IMAGE.
GUI / noVNC sandboxes allocate 1 GiB /dev/shm for Chromium.
docker stats --no-stream
docker inspect whaleshell-demo --format '{{.HostConfig.Memory}} {{.HostConfig.NanoCpus}} {{.HostConfig.PidsLimit}}'- EN-Home
- Get started
- Concepts
- Providers
- Guides
- Reference
- EN-Summary
- RU-Home
- Старт
- Концепты
- Провайдеры
- Гайды
- Справка
- RU-Summary