Actions15
Overview
This node interacts with Docker to perform various operations such as getting, listing, and running Docker resources. Specifically, for the 'Volume' resource with the 'List' operation, it retrieves a list of Docker volumes based on optional filter criteria provided as JSON options. This is useful for scenarios where you need to programmatically manage or monitor Docker volumes, such as automating volume cleanup, auditing volume usage, or integrating volume data into other workflows.
Use Case Examples
- List all Docker volumes to monitor storage usage.
- Filter and list volumes based on specific criteria for cleanup automation.
Properties
| Name | Meaning |
|---|---|
| Options | JSON object containing filter options to customize the list of Docker volumes returned. |
Output
JSON
name- Name of the Docker volume.driver- Driver used by the Docker volume.mountpoint- Mount point of the Docker volume on the host.labels- Labels associated with the Docker volume.scope- Scope of the Docker volume (e.g., local, global).
Dependencies
- Docker API accessed via dockerode library
- Requires Docker API credentials
Troubleshooting
- Ensure Docker credentials are correctly configured; missing credentials will cause the node to throw an error.
- The 'Options' property must be a valid JSON object; invalid JSON will cause parsing errors.
- If the Docker daemon is not accessible or running, the node will fail to retrieve volume information.
Links
- Docker API Volume List - Official Docker API documentation for listing volumes, which this node utilizes.