Actions12
Overview
This node interacts with Docker to perform operations on Docker resources such as images, containers, volumes, and networks. Specifically, for the Image resource with the Get operation, it retrieves detailed information about a Docker image by its ID. This is useful for scenarios where you need to inspect or manage Docker images programmatically within an automation workflow, such as fetching metadata or verifying image existence before deployment.
Use Case Examples
- Retrieve detailed information about a specific Docker image by providing its ID.
- Use the node to automate Docker image management tasks in CI/CD pipelines.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the Docker image to retrieve information for. |
Output
JSON
id- The ID of the Docker image.repoTags- Tags associated with the Docker image.created- Timestamp when the image was created.size- Size of the Docker image in bytes.virtualSize- Virtual size of the Docker image.parentId- ID of the parent image, if any.containers- Number of containers using this image.
Dependencies
- Docker API accessed via dockerode library
- Requires Docker API credentials
Troubleshooting
- Ensure Docker daemon is running and accessible from the environment where the node executes.
- Verify that the provided image ID is correct and exists in the Docker environment.
- Check that the Docker API credentials are valid and have sufficient permissions.
Links
- Docker Image Inspect API - Official Docker API documentation for inspecting images, which this node utilizes.