🐳Docker

Author [godwin]

System Requirements

CPU
OS
RAM
DISK

8 cores+

Ubuntu 24.04

32GB+

>= 1.3TB

The Unichain Mainnet archive node has a size of 1.3TB on August 12th, 2025

Last updated: 12th August 2025

Pre-Requisites

First, update, upgrade, and clean the system:

sudo apt update -y && sudo apt upgrade -y && sudo apt auto-remove -y
sudo apt install ufw -y

Configure Firewall Settings

sudo ufw default deny incoming
sudo ufw default allow outgoing

sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443
sudo ufw allow 8545
sudo ufw allow 8546
sudo ufw allow 30303
sudo ufw allow 6060

Install Docker

Run this command to remove any conflicting Docker

Add Docker's official GPG key:

Add the repository to ppt sources:

Install docker

Set up Unichain Node

Make and switch to the working directory for the ronin node

Go into the docker directory, create a docker-compose.yml file with the following configuration:

Create a .env file and add the following content

Create a .env.mainnet file in the project directory

Create op-geth-entrypoint.sh in the project directory

Run the node

Monitor the node

Use docker logs to monitor the rootstock node. The -f flag ensures you are following the log output.

You should see a response similar to this once your node starts syncing

Query the node

Eth syncing status

Output

If the node is done syncing, you should see the below response

To check the block number

Output

References

Last updated

Was this helpful?