Docker icon

Docker

Interact with Docker

Actions12

Overview

This node interacts with Docker to perform operations on Docker resources. Specifically, for the Image resource with the List operation, it retrieves a list of Docker images based on optional filter options provided as JSON. This is useful for scenarios where you need to programmatically access and manage Docker images, such as in CI/CD pipelines, automated deployments, or monitoring Docker environments.

Use Case Examples

  1. List all Docker images available on a Docker host to display or process them further.
  2. Filter Docker images by specific criteria using JSON options to find images matching certain tags or labels.

Properties

Name Meaning
Options JSON object containing filter options to customize the list of Docker images returned.

Output

JSON

  • id - The unique identifier of the Docker image.
  • repoTags - Tags associated with the Docker image.
  • created - Timestamp when the Docker image was created.
  • size - Size of the Docker image in bytes.

Dependencies

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

Troubleshooting

  • Ensure Docker API credentials are correctly configured and accessible by the node.
  • 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 is used.

Links

Discussion