🐳Docker
Author: [Godwin]
System Requirements
CPU
OS
RAM
DISK
4-8 cores
Ubuntu 24.04
16
5TB
Pre-Requisites
Update System
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y git gcc make --fix-missingInstalll Docker
# Update and upgrade packages
sudo apt-get update
sudo apt-get upgrade -y
### Docker and docker compose prerequisites
sudo apt-get install -y curl
sudo apt-get install -y gnupg
sudo apt-get install -y ca-certificates
sudo apt-get install -y lsb-release
### Download the docker gpg file to Ubuntu
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
### Add Docker and docker compose support to the Ubuntu's packages list
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
### Install docker and docker compose on Ubuntu
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo usermod -aG docker $(whoami)
### Verify the Docker and docker compose install on Ubuntu
sudo docker run hello-worldFirewall Configuration
Set Explicit Firewall Configuration
Allow SSH
Allow Connections for OP-NODE & OP-GETH
Enable Firewall Rules
Check Status of Firewall Rules (UFW)
Clone the Optimism Docker Setup Directory
Create Directories
Copy .env.example to .env
Configure the .env file
This is a sample of how to configure the .env for op-sepolia node
You can get more info on the env config in this link - https://github.com/smartcontracts/simple-optimism-node#mandatory-configurations
The docker-compose.yml file can be found here
https://github.com/smartcontracts/simple-optimism-node/blob/main/docker-compose.yml
Operating the Node
View the logs
Monitoring
Run progress.sh to estimate remaining sync time and speed.
Grafana dashboard
Grafana is exposed at http://localhost:3000 and comes with one pre-loaded dashboard ("Simple Node Dashboard").
Use the following login details to access the dashboard:
Username:
adminPassword:
optimism

Query Node
Check Sync Status
Check optimism sync status
Check Block Number
Last updated
Was this helpful?