Docker icon

Docker

Interact with Docker

Actions12

Overview

This node interacts with Docker to list Docker volumes. It connects to a Docker environment using provided API credentials and retrieves a list of volumes based on optional filtering options. This is useful for scenarios where you need to automate Docker volume management, monitor volume usage, or integrate Docker volume data into workflows.

Use Case Examples

  1. Listing all Docker volumes to monitor storage usage.
  2. Retrieving Docker volumes with specific filters for cleanup or reporting.

Properties

Name Meaning
Options JSON object to specify filtering or listing options for Docker volumes.

Output

JSON

  • Name - The name of the Docker volume.
  • Driver - The driver used by the Docker volume.
  • Mountpoint - The mount point path of the Docker volume on the host.
  • Labels - Labels associated with the Docker volume.
  • Scope - The scope of the Docker volume (e.g., local, global).

Dependencies

  • Docker API accessed via dockerode library
  • Requires Docker API credentials for authentication

Troubleshooting

  • Ensure Docker API credentials are correctly configured and accessible.
  • Verify that the Docker daemon is running and reachable from the environment where the node executes.
  • If the 'Options' JSON is malformed, the node may throw an error; ensure valid JSON syntax.

Links

Discussion