DeployCLI Reference
eda volume
Inspect and manage persistent Docker volumes, disk space, and mount bindings
The eda volume command group manages persistent Docker volumes and directory storage mounts attached to your applications. It enables inspecting volume disk usage, reviewing container bindings, and removing orphaned storage volumes.
eda volume <command> [options]
explita deploy volume <command> [options]1. Subcommands Overview
| Command | Description |
|---|---|
eda volume / eda volume ls | List persistent Docker volumes and mount bindings (defaults to all or filtered by app). |
eda volume inspect <name> | Show detailed volume configuration, disk size, mountpoint path, and container status. |
eda volume rm <name> | Permanently delete a persistent Docker volume (alias: delete). |
2. Options
| Flag | Shorthand | Description |
|---|---|---|
--app <appId> | -a | Filter volumes by target application ID. |
--yes | -y | Bypass interactive confirmation prompt when deleting volumes. |
--force | -f | Force deletion even if the volume is still registered in app configuration. |
--help | -h | Display usage instructions and options. |
3. Usage Examples
List Persistent Volumes
# List all Docker volumes across the entire host
eda volume ls
# List volumes bound to the current project
eda volume ls
# Filter volumes for a specific application
eda volume ls -a payment-apiInspect Volume Details
eda volume inspect app-uploadsSample Output:
Volume: app-uploads
Mountpoint: /var/lib/docker/volumes/app-uploads/_data
Size: 1.42 GB
Driver: local
Bound Apps: payment-api (Active)Remove a Volume
# Remove with interactive prompt
eda volume rm app-uploads
# Remove non-interactively in automation scripts
eda volume rm app-uploads -y[!CAUTION] Deleting a persistent Docker volume permanently destroys the files stored inside it on the host filesystem. Ensure you have created a backup via
eda dumpbefore removing production volumes.