Expand description
Docker volume management
This module provides functions to create and manage Docker volumes for persistent storage across container restarts.
Constants§
- MOUNT_
CONFIG - Mount point for configuration inside container
- MOUNT_
PROJECTS - Mount point for project files inside container
- MOUNT_
SESSION - Mount point for session history inside container
- VOLUME_
CONFIG - Volume name for opencode configuration
- VOLUME_
NAMES - All volume names as array for iteration
- VOLUME_
PROJECTS - Volume name for project files
- VOLUME_
SESSION - Volume name for opencode session history
Functions§
- ensure_
volumes_ exist - Ensure all required volumes exist
- remove_
all_ volumes - Remove all opencode-cloud volumes
- remove_
volume - Remove a volume
- volume_
exists - Check if a specific volume exists