Docker

Author: [ jLeopoldA ]

System Requirements

CPU
OS
RAM
DISK

The Arbitrum Sepolia Archive Node has a size of <SIZE HERE> as of <DATE>

Pre-Requisites

This method of setting up an Arbitrum Sepolia Archive Node uses Docker and Docker-Compose.

Update System

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y

Install Docker & Docker-Compose

Installation Steps

# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

# Install Docker Packages including Docker Compose
 sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
 
# Verify Docker Engine Installation
sudo docker run hello-world

Set Up Firewall

Set Explicit Default Firewall Rules

Allow SSH

Allow RPC Connection with Arbitrum Sepolia

Allow P2P Connections

Enable Firewall

Check Status / Current Rules of Firewall

Build Arbitrum Sepolia Archive Node

The Arbitrum Sepolia Archive Node requires an archival snapshot to run. However - this is provided within the docker-compose.yml as the following parameter and value. --init.latest=archive

Create Directory

Create docker-compose.yml

Run Archive Node

Interact with Arbitrum Sepolia Archive Node

Check Logs

Stop Node

Query Arbitrum Sepolia Archive Node

Check Block Number

Last updated