Skip to main content

Module volume

Module volume 

Source

Enums§

VolumeSpec
Result of parsing a volume spec — either a named Docker volume or a host bind mount.

Functions§

ensure_volume
Create a Docker volume if it doesn’t already exist.
list_project_volumes
List all volumes with the devrig.project label matching the given slug.
parse_volume_spec
Parse a volume spec into a VolumeSpec.
remove_project_volumes
Remove all volumes with the devrig.project label matching the given slug.
remove_volume
Remove a Docker volume, ignoring 404 (already removed).