LogoLogo
  • Introduction to Beldex
  • Getting Started
  • Wallets
    • Overview
    • What Wallet to use?
    • Addresses
      • Main Address
      • Sub Address
      • Integrated Address
    • Multisignature
    • Guides
      • CLI Linux Setup
      • CLI Wallet Commands
      • CLI Restoring Wallet from Seed
      • CLI Restoring Wallet from Keys
      • Multisig
        • 2/2 Multisig
        • 2/3 Multisig
        • M/N Multisig
  • Master Nodes
    • Overview
    • Master Node Functions
    • Staking Requirement
    • Infinite Staking Primer
    • Guides
      • Master Node Full Guide
      • Master Node Express Setup
      • Master Node Update Guide
      • Master Node Docker Setup
      • Master Node Registration Guide
  • BelNet
    • Exit Node Setup Guide
    • Exit Node Setup Using Docker
    • MNApp Hosting Guide Using Nginx
    • BelNet GUI Installation Guide
  • Advanced
    • Developer
      • Master Node RPC Guide
      • Daemon RPC Guide
      • Wallet RPC Guide
      • Developer FAQ
Powered by GitBook
On this page
  • Step 1: Install Docker and Docker-Compose
  • Step 2: Pull the Image From Docker Hub
  • Step 3: Download & Compose yml File
  • Step 4: To Run Container
  • Step 5: Login Into Container
  • Step 6: To View Exit Node Address

Was this helpful?

Export as PDF
  1. BelNet

Exit Node Setup Using Docker

A quick guide to set up your exit node

Step 1: Install Docker and Docker-Compose

Docker and docker-compose are prerequisites to download and run the docker images and container.

Enter the following commands to download and install docker.

sudo apt update && sudo apt install apt-transport-https ca-certificates curl software-properties-common -y && curl -fsSL 
https://download.docker.com/linux/ubuntu/gpg
 | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] 
https://download.docker.com/linux/ubuntu
 focal stable" && sudo apt update && sudo apt install docker-ce -y && sudo systemctl status docker

Enter the following commands to download and install docker-compose.

sudo curl -L "
https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname
 -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose && docker-compose --version

Step 2: Pull the Image From Docker Hub

Enter the following command into the terminal to pull the BelNet Exit Node image from the docker hub.

docker pull beldex/belnet-exitnode:v2

Step 3: Download & Compose yml File

Enter the following command to get the BelNet yml file from Beldex deb.

sudo apt install wget && wget 
https://deb.beldex.io/Beldex-projects/Belnet/docker-compose.yml

Step 4: To Run Container

Enter the following command to run the yml file as a container.

docker-compose up -d

Step 5: Login Into Container

Enter the following command to get the container ID and other details.

docker ps

Enter the following command after replacing your container ID in place of <container -id>

docker exec -it <container -id> bash

Step 6: To View Exit Node Address

Your exit node is now live. Get your exit node’s BelNet address using the following command.

host -t cname localhost.bdx 127.3.2.1
PreviousExit Node Setup GuideNextMNApp Hosting Guide Using Nginx

Last updated 7 months ago

Was this helpful?