How to install ERPNext using Docker on Hostinger VPS

Hello Frappe Community,

I am trying to install ERPNext using Docker on my Hostinger VPS server, which is running Ubuntu 22.04.

Here is what I have done so far:

Docker is not pre-installed, so I am trying to install it manually.
I have already cloned the frappe/frappe_docker repository.
I am trying to follow the production setup, but I am facing issues like docker: command not found or invalid reference format when I try docker-compose up -d.

:small_blue_diamond: My objective is:

To install ERPNext version 15 using Docker on my VPS.
Access the site from a domain like erp.mydomain.com.

:small_blue_diamond: My questions:

  1. What is the correct step-by-step method to install Docker + Docker Compose on Hostinger Ubuntu 22.04 VPS?
  2. Are there any Hostinger-specific configurations (like ports, permissions, or firewall) I need to take care of?
  3. Is there an easier way to set up ERPNext with Docker in production?

Any help or guidance would be highly appreciated. :pray:

Thank you in advance!