Explita InfraExplita Infra
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

CommandDescription
eda volume / eda volume lsList 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

FlagShorthandDescription
--app <appId>-aFilter volumes by target application ID.
--yes-yBypass interactive confirmation prompt when deleting volumes.
--force-fForce deletion even if the volume is still registered in app configuration.
--help-hDisplay 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-api

Inspect Volume Details

eda volume inspect app-uploads

Sample 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 dump before removing production volumes.

On this page