Actions42
- Container Actions
- Image Actions
- Network Actions
- System Actions
- Volume Actions
Volume → List
AI-generatedSummary
List Docker volumes with optional limit
Inputs
- volumeReturnAll — Whether to return all volumes or only up to a given limit.
- volumeLimit — Maximum number of volumes to return; applies when 'volumeReturnAll' is false.
Output shape
array of volume objects
Pagination limited by 'volumeLimit'; if 'volumeReturnAll' is false the result may be truncated, otherwise all volumes are returned.
Examples
Example 1: Return all volumes (default behavior)
volumeReturnAll: true
Example 2: List only 5 volumes
volumeReturnAll: false, volumeLimit: 5
Example 3: List 20 volumes
volumeReturnAll: false, volumeLimit: 20