Worker Nodes (Docker) Setup
Last updated
Last updated
To ensure your Worker Node can communicate properly, you'll need to configure your firewall to allow traffic on the port you've chosen (default: 5011). Below are the instructions for setting up firewall rules on both Linux and Windows.
Linux (Ubuntu) Firewall Setup
Check if UFW (Uncomplicated Firewall) is installed:
If UFW is not installed, you can install it with:
Allow the required port:
To allow traffic on port 5011, run the following command:
If you've chosen a different port, replace 5011
with your selected port number.
Enable UFW:
If UFW is not already enabled, enable it with:
Verify the UFW status:
Ensure that the rule has been added and UFW is active:
Windows Firewall Setup
Open Windows Firewall:
Press Win + R
, type firewall.cpl
, and press Enter.
In the Windows Firewall window, click on "Advanced settings" on the left side.
Create a new inbound rule:
In the "Windows Firewall with Advanced Security" window, click on "Inbound Rules" on the left pane.
Click on "New Rule…" on the right pane.
Rule Type:
Select "Port" and click "Next."
Protocol and Ports:
Choose "TCP."
Specify the port number (default: 5011). If you've chosen a different port, replace 5011
with your selected port number.
Click "Next."
Action:
Choose "Allow the connection" and click "Next."
Profile:
Select when the rule applies (Domain, Private, Public). Generally, leave all selected.
Click "Next."
Name the Rule:
Give your rule a name, e.g., "BrinxAI Worker Node."
Click "Finish."
Step 1: Install Docker
To install Docker on your Linux Ubuntu system, please follow the instructions provided in the official Docker documentation by visiting Docker Engine Installation.
To install Docker on your Windows system, please follow the instructions provided in the official Docker documentation by visiting Docker Engine Installation.
Step 2: Pull Worker Image from Docker Hub
Run the following commands in your terminal:
Step 3: Install NVIDIA Drivers for Docker (optional)
Follow the guide below before proceeding if you want GPU Enabled.
Step 4: Run Worker Docker Image
Linux (Ubuntu): Run the following commands in your terminal:
Windows (PowerShell):
If you are using PowerShell, run the following commands:
Step 5: Register Your Worker Node
Go to workers.brinxai.com.
Create an account using your email and password.
Log in to your account.
Find your IP address by visiting What Is My IP Address or using the ifconfig
command in the terminal.
Enter your Node Name (Any) and IP address in the Worker Dashboard and click "Add Node".