Skip to main content

Module scope

Module scope 

Source
Expand description

The Docker resources one case shares: a network, an optional volume, and the containers created in it.

A CaseScope computes every name it uses from its ID without talking to Docker, so a caller can record the scope for reclaim before CaseScope::prepare creates anything.

Every resource carries the label airlock-case=<id>, so reclaiming one case never removes the containers of another case. Names start with airlock-case-.

Structsยง

CaseScope
The network and volume of one case, and the label and names of everything created in it.
ScopePlatform
What a case scope looks like on one container OS.