Outcall
SpecificationsS008 · Docker Manager

Edge cases

S008 Edge Cases

IDScenarioExpected Behavior
S008-EC-001Host socket path in bind mountsReject before calling Docker API. Error identifies the denied path. This is the critical security invariant.
S008-EC-002Target network does not existReturn error. Do not create the container.
S008-EC-003Docker daemon unreachableReturn error with descriptive message.
S008-EC-004Container does not exist (stop/remove)Return error: container "<name>" does not exist.
S008-EC-005Image not found locally (create)Return error: image "<image>" not found locally — pull it first. Do not trigger implicit pull.
S008-EC-006Image pull fails (network error, auth)Return error with the upstream Docker message.
S008-EC-007Stop called on already-stopped containerReturn success with stopped: false. Idempotent.
S008-EC-008Remove called on already-removed containerReturn success with removed: false. Idempotent.
S008-EC-009Multiple rapid create callsEach call generates a unique name. No collision due to random hex suffix.
S008-EC-010Daemon shutdown with running containersContainers are NOT stopped — they intentionally outlive the daemon (consistent with S002-EC-010). On restart, outcalld rediscovers them by name prefix.
S008-EC-011Docker available at startup but disappears laterIndividual endpoint calls return Docker connection errors. The daemon continues running.
S008-EC-012Symlink traversal in bind mount sourceoutcalld MUST resolve symlinks before checking the deny list. A symlink to the host socket MUST be caught.
S008-EC-013Duplicate container name (custom suffix collides)Docker rejects the create. outcalld returns the Docker error to the caller.
S008-EC-014Resource limit exceeds host capacityDocker may accept the create but OOM-kill the container. outcalld does not pre-validate against host resources.
S008-EC-015Agent socket path does not exist on hostReturn error: agent socket not found at "<path>". Do not create the container.
S008-EC-016Shim binary path does not exist on hostReturn error: shim binary not found at "<path>". Do not create the container.

On this page