Docker icon

Docker

Manage Docker containers, images, networks, volumes, and daemon metadata with Unix socket, TCP, TLS, or SSH connections

Volume → List

AI-generated

Summary

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

Links

Discussion