GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.roomote.dev — Docker - Roomote Docs Docker is the simplest sandbox provider for local development and trusted
single-host self-hosting. Roomote starts one worker container per task, connects
it to the configured Docker network, streams logs back to the task view, and
stops the container when the task is finished.
When to use DockerUse Docker when:
ConfigurationDocker does not need provider API credentials. Select Docker during setup or from Settings > Sandboxes. Common env vars:roomote-worker:local automatically. Self-hosted
Compose deployments normally use docker-compose.compute-docker.yml, which
sets the worker image, platform, network, and release path for sibling worker
containers.
For production deployments, prefer an immutable registry-qualified worker image
tag when workers need a published image instead of a local tag.
Resource and network isolationEvery Docker task receives a dedicated bridge network. In Compose deployments, Roomote attaches the API and, when enabled, the optional preview proxy to that network; sibling task containers and datastore containers are not reachable. The controller reconciles replacement API and preview-proxy containers onto running task networks, removes empty task networks periodically, and reaps stale provisioning containers after a restart. Environments that use Docker projects also receive a dedicated Docker daemon and workspace volume. Customer Compose services share the task’s network namespace so configured preview ports keep the same task-scoped routing, while their Docker control plane is not exposed to other tasks. The daemon, inner containers, network, and workspace volume are stopped or removed with the task lifecycle. Workers default to 2 CPUs, 4 GiB of memory with no additional swap, 512 PIDs, a requested 20 GiB writable-layer quota, and three 10 MiB JSON log files. The dedicated Docker daemon used by Docker-project tasks receives an 8 GiB memory limit by default while inheriting the other worker resource limits. The variables above can tune those bounds. Writable-layer quotas require a Docker storage driver that supports--storage-opt size. When the driver rejects that
option, Roomote refuses to start the task rather than allowing untrusted code to
consume the host disk. Configure a quota-capable Docker data root. Operators
that enforce an equivalent host-level quota can explicitly set
DOCKER_WORKER_ALLOW_UNBOUNDED_DISK=true; Roomote then logs a warning and
starts without --storage-opt size.
Check storage before choosing Docker for a new self-hosted deployment. For
Docker’s overlay2 driver, per-container size limits require an XFS backing
filesystem mounted with project quotas (pquota). See
Docker’s storage-option requirements
for the supported driver configurations. Allocating a larger VM disk alone
does not enable this support.
On an existing Docker host, sudo docker info shows the storage driver,
backing filesystem, and Docker root directory. Prepare suitable storage
before running local tasks, or configure a hosted sandbox provider
in Settings > Sandboxes. The Roomote installer does not configure host
filesystem quotas.
Completed resumable tasks keep their stopped container and writable layer so a
follow-up can restart the same workspace. Roomote retains at most 10 containers
for 24 hours by default. Configure DOCKER_STANDBY_MAX_COUNT and
DOCKER_STANDBY_MAX_AGE_HOURS to change those bounds; a count of 0 disables
Docker standby retention. The five-minute retention sweep removes the oldest
or expired containers and their task networks.
These retention limits are also editable under Settings > Sandboxes > Local
Docker > Advanced settings. Process environment variables take precedence
and appear as locked values in Settings.
The default internet egress policy allows public repository and tool access
while installing immutable blackhole routes for private, shared-address, and
cloud metadata ranges (including AWS/GCP/Azure, Alibaba, and Oracle endpoints).
The task’s own, more-specific network route still reaches its API and preview
proxy peers. In networked self-host deployments, direct connections to the
Docker bridge gateway are also blocked without disrupting its use as the
public-egress next hop. Local development blocks metadata ranges but retains
private and gateway access because its API runs on the host. The worker never
receives the network-administration capability needed to remove the policy. Set
DOCKER_WORKER_EGRESS_POLICY=none for tasks that need only the Roomote API and
preview proxy.
Security notesDocker sandboxes require the Roomote controller to create and manage worker containers. Production Compose routes those operations through an internal socket proxy that allows only the container, exec, image, network, and volume API sections Roomote needs; the controller does not mount the raw socket. Treat the proxy and Docker host as trusted infrastructure, and do not use Docker sandboxes as a multi-tenant isolation boundary for untrusted operators or repositories.Verify setup
Common issuesBefore creating any sandbox resources, Roomote preflights the Docker environment: it checks that the daemon responds, and that the worker image is available locally (pulling it when a registry hosts it). When a boot fails, the task startup screen explains the failure category; the sections below map each one to a fix.
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |