Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Docker Manager → Create Project

AI-generated

Overview

This node operation allows users to create a new Docker project on a specified VPS (Virtual Private Server) managed by Hostinger. It is useful for automating the deployment and management of Docker projects on VPS instances, enabling users to programmatically create projects with custom configurations.

Use Case Examples

  1. Creating a new Docker project named 'my-project-1' on a VPS with ID 'vm-12345' by providing the project details in JSON format.
  2. Automating the setup of multiple Docker projects across different VPS instances by specifying the virtual machine ID and project configuration in the request body.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS where the Docker project will be created.
Request Body Raw JSON body containing the details of the Docker project to be created, such as project name, content, and environment configuration.

Output

JSON

  • response - The JSON response from the Hostinger API containing details about the created Docker project.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Virtual Machine ID is correct and the VPS is accessible.
  • Verify the JSON structure in the Request Body is valid and contains all required fields for creating a Docker project.
  • Check API authentication credentials are properly configured and have the necessary permissions.
  • Common errors include invalid VM ID, malformed JSON in the request body, or insufficient permissions, which can be resolved by correcting the input parameters and verifying credentials.

Links

Discussion