Structs§
Constants§
- WARDEN_
PLATFORM - The platform warden uses for all containers.
Warden hardcodes
--platform linux/amd64on everydocker run/docker create, so all image operations must target the same platform for consistency.
Functions§
- ensure_
named_ volumes_ exist - Pre-create any Docker named volumes found in
stakpak_agent_default_mounts. - expand_
volume_ path - Expand
~to$HOMEin a volume mount string. - find_
available_ port - get_
container_ host_ port - image_
exists_ locally - Checks if a Docker image exists locally
- is_
docker_ available - Checks if Docker is installed and accessible
- is_
named_ volume - Check whether the host-side part of a volume mount is a Docker named volume (as opposed to a bind mount path).
- pull_
warden_ image - Pull a Docker image for the warden platform (linux/amd64) with visible progress.
- remove_
container - run_
container_ detached - stakpak_
agent_ default_ mounts - Default volume mounts for the stakpak agent container.
- stakpak_
agent_ image - The container image used for sandboxed agent sessions. Override at runtime with STAKPAK_AGENT_IMAGE env var for local testing.
- stop_
container - warden_
image_ exists_ locally - Checks if a Docker image for the warden platform (linux/amd64) exists locally.