🐳Docker

Authors: [ Ankur | Dapplooker]

System Requirements

CPU
OS
RAM
DISK

4 vCPU

Ubuntu 22.04

64 GB

1TB (SSD)

circle-info

The CDK-Erigon archival node has a size of 104GB on January 29, 2025.

Pre-requisite

Before starting, clean the setup then update and upgrade. Install following:

  • Docker

  • Docker Compose

  • Git

  • Go v1.19 +

  • L1 Ethereum node RPC

Commands:

sudo apt update -y && sudo apt upgrade -y && sudo apt auto-remove -y
sudo apt install docker.io docker-compose git ufw -y 

Firewall Settings:

Set explicit default UFW rules

Allow SSH, HTTP, and HTTPS

Allow Remote connection

Setup Instructions:

  1. Clone the CDK Erigon Repository

    Clone the repository and navigate to its root directory:

  1. Build Libraries

    Install the relevant libraries for your architecture:

  1. Configure .env file

    Create a .env file to configure environment variables:

Example docker compose file:

  1. Start the Node:

Monitor Logs

Monitor Logs of Docker Container

Sync Status

Run a query to check the latest synchronized L2 block:

Response should look like:

REFERENCES

Last updated