🐳Docker

Author: Godwin

System Requirements

CPU
OS
RAM
DISK

4-Core CPU

Debian 12/Ubuntu 22.04

=> 8 GB RAM

500 GB+

(SSD or NVMe)

Starknet Juno full node has a size of 397GB on April 19th, 2025

Before you start, make sure that you have your own synced Ethereum mainnet L1 RPC URL ready with WS port enabled

Pre-Requisites

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

sudo apt install -y wget curl screen git ufw

Setting up Firewall

sudo ufw default deny incoming
sudo ufw default allow outgoing

sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443

Enable Firewall

Install Docker

Run this command to remove any conflicting docker

Add Docker's official GPG key:

Add the repository to ppt sources:

Install docker

Create Starknet directory

Launch Starknet full node

Paste the following into the docker-compose.yml:

Monitor Logs

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

Once your Juno Starknet node starts syncing, the logs are expected to look like this:

1. Block Number

This confirms which Starknet network the node is connected to:

Expected Response:

  1. Sync Status

This ensures that your node is syncing correctly and producing up-to-date data.

Expected Response:

You get the below result if the node has caught up to the latest block.

References

Last updated

Was this helpful?