Skip to main content

Module container

Module container 

Source

Structs§

ContainerConfig

Functions§

ensure_named_volumes_exist
Pre-create any Docker named volumes found in stakpak_agent_default_mounts.
expand_volume_path
Expand ~ to $HOME in 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).
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.
stop_container