SUI Full Node - Docker Setup

Before proceed, you may want to read about Initial Node Setup.
Sui FullNode — Building from Source

Hardware requirements
Minimum hardware requirements for running a Sui fullnode:

  • CPUs: 2
  • RAM: 8GB
  • Storage: 50GB ( Storage requirements will vary based on various factors)

Software requirements
We recommend running Sui fullnodes on Linux. The Sui team supports the Ubuntu and Debian distributions and tests against Ubuntu version 18.04 (Bionic Beaver).

Configuring your fullnode:

Docker Installation:

Now it is time to go back to our server. Run Termius/Putty and connect your server with your new user. Run following commands one by one to install docker.

After installing docker, you need to download the fullnode-template.yaml, genesis.blob and docker-compose.yaml with the following commands.

To start the fullnode in detached mode using Docker, run:

Check logs by using following commands. Firstly use ‘docker ps’ to get te name of the existing container, then monitor recent logs.

You will see output like this:

Also you can check realtime node data from https://node.sui.zvalid.com/. Enter your server IP and click connect.

Syncing takes time. If you see ‘API NOT OK’, ensure that your ports are open. Run any one of the following command on Linux to see open ports:

Usefull Commands:

Inspect the state of a running fullnode:

Reset the environment:
Take everything down, removing the container and volume. Use this to start completely fresh (image, config, or genesis updates):

Once the fullnode is up and running;
Get the five most recent transactions with JSON-RPC interfaces.

Checking running container label:

Checking genesis.blob hash:

Updating with new Genesis

MystenLabs Sui Sources:

Web, Documents, Github, Discord, Explorer

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
GateOmega

GateOmega

11 Followers

Gate Omega is a new start-up company based in Turkey. We are a team of 6 and currently focusing on disruptive and innovative crypto projects .