Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Docker Manager → List Containers

AI-generated

Overview

This node interacts with the Hostinger API to list Docker containers within a specified Docker project on a VPS (Virtual Private Server). It is useful for managing and monitoring Docker containers running on a VPS, allowing users to retrieve container details programmatically.

Use Case Examples

  1. A user wants to get a list of all Docker containers running in a specific Docker project on their VPS to monitor container statuses or perform further automation tasks.
  2. An administrator needs to fetch container information to integrate with other systems or dashboards.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS where the Docker project is hosted. This is required to specify which VPS to query.
Docker Project Name The name of the Docker project on the VPS whose containers are to be listed. This specifies the scope of the container listing.

Output

JSON

  • response - The JSON response from the Hostinger API containing the list of Docker containers for the specified project on the VPS.

Dependencies

  • Hostinger API key credential for authentication

Troubleshooting

  • Ensure the Virtual Machine ID and Docker Project Name are correctly specified and exist on the Hostinger VPS.
  • Verify that the Hostinger API credentials are valid and have the necessary permissions to access Docker container information.
  • Check network connectivity to the Hostinger API endpoint.
  • Common error messages may include authentication failures, resource not found (invalid VM ID or project name), or permission denied errors. Verify input parameters and credentials to resolve these issues.

Links

Discussion