Docker icon

Docker

Interact with Docker

Actions15

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 'List' operation, it retrieves a list of Docker images based on optional filtering options provided as JSON. This node is useful for automating Docker management tasks, such as listing available images for deployment or cleanup.

Use Case Examples

  1. List all Docker images available on a Docker host to monitor or manage them.
  2. Retrieve Docker images with specific filters or options to automate image management workflows.

Properties

Name Meaning
Options JSON object containing options to filter or 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 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 images.

Links

Discussion