Actions15
Overview
This node allows interaction with Docker resources directly from n8n workflows. Specifically, the "Get" operation on the "Volume" resource retrieves detailed information about a specific Docker volume by its ID. This is useful for scenarios where you need to inspect or manage Docker volumes programmatically, such as monitoring storage usage, verifying volume existence, or integrating Docker volume data into automation pipelines.
For example, you might use this node to fetch metadata about a volume before deciding whether to back it up or delete it, or to gather volume details to display in a dashboard.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the Docker volume to retrieve. This should be the exact volume name or ID string. |
Output
The node outputs JSON data representing the Docker volume's details. The structure corresponds to the volume object returned by the Docker API and typically includes properties such as:
Name: The name of the volume.Driver: The driver used by the volume.Mountpoint: The path where the volume is mounted on the host.Labels: Any labels assigned to the volume.Scope: The scope of the volume (e.g., local).Options: Driver-specific options set on the volume.CreatedAt: Timestamp when the volume was created.- Other metadata related to the volume.
No binary data output is produced by this operation.
Dependencies
- Requires a valid Docker API connection configured via credentials that provide access to the Docker daemon.
- The node uses the
dockerodelibrary internally to communicate with Docker. - The Docker daemon must be accessible from the environment where n8n runs.
Troubleshooting
No credentials got returned!
This error indicates missing or misconfigured Docker API credentials. Ensure that the Docker connection credentials are properly set up in n8n.Invalid volume ID or volume not found
If the specified volume ID does not exist, the Docker API will return an error. Verify that the volume ID is correct and that the Docker daemon has the volume available.Docker daemon unreachable
Network or permission issues may prevent connecting to the Docker daemon. Confirm that the Docker service is running and accessible from the n8n instance.