Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Docker Manager → Start Project

AI-generated

Overview

This node operation allows users to start a Docker project on a specified virtual machine managed by Hostinger's VPS Docker Manager. It is useful for automating the deployment and management of Docker projects on VPS instances, enabling users to remotely control the lifecycle of their Docker projects.

Use Case Examples

  1. Starting a Docker project named 'my-docker-app' on a VPS with ID 'vm-12345' to initiate the application deployment process.
  2. Automating the start of multiple Docker projects across different VPS instances as part of a CI/CD pipeline.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the virtual machine where the Docker project is hosted. This is required to specify the target VPS.
Docker Project Name The name of the Docker project to start on the specified virtual machine. This identifies which Docker project to operate on.

Output

JSON

  • response - The JSON response from the Hostinger API after attempting to start the Docker project, containing details about the operation's success or failure.

Dependencies

  • Hostinger API authentication token or API key credential

Troubleshooting

  • Ensure the Virtual Machine ID and Docker Project Name are correctly specified and exist on the Hostinger VPS.
  • Check that the API credentials used have sufficient permissions to start Docker projects on the VPS.
  • Common errors include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the VPS or project does not exist or is unreachable.

Links

Discussion