docker-volumes
Installation
SKILL.md
Docker Volumes
Trigger
Use this skill when:
- Persisting data across container restarts or recreations
- Choosing between named volumes, bind mounts, and tmpfs
- Backing up or restoring volume data
- Debugging permission issues with mounted directories
- Sharing data between multiple containers
- Extracting files from containers with
docker cp - Managing volume lifecycle (create, inspect, prune)
Required Inputs
- Type of data being persisted (database, uploads, config, logs)
- Whether the data needs to survive container removal
- Host OS (Linux, macOS, Windows) for permission considerations
- Whether multiple containers need concurrent access