🐳Docker
Author: [Godwin]
System Requirements
CPU
OS
RAM
DISK
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
Operating the Node
View the logs
Monitoring
Grafana dashboard

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