Skip to content

Install SmokePing via Docker Compose

Deploy SmokePing using Docker and configure your first latency probe.

Installation

  1. Create Docker Compose File
sh
mkdir /opt/smokeping && cd /opt/smokeping
nano docker-compose.yml

Paste the following configuration:

yaml
version: "3"
services:
  smokeping:
    image: lscr.io/linuxserver/smokeping:latest
    container_name: smokeping
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
    volumes:
      - ./config:/config
      - ./data:/data
    ports:
      - 8080:80
    restart: unless-stopped

Save with CTRL + X / Y / Enter

  1. Pull Images and Start the Container
sh
docker compose pull
docker compose up -d

You can now access SmokePing via http://your-server-ip:8080

Create Your First Probe

  1. Open the Targets configuration
sh
cd /opt/smokeping
sudo nano config/Targets
  1. Add a new section at the end of the file to monitor Google's DNS
yaml
+ WebServices
menu = Web Services
title = Latency Check for Web Services

++ GoogleDNS
menu = Google DNS
title = Google Public DNS (8.8.8.8)
host = 8.8.8.8

Save with CTRL + X / Y / Enter

  1. Restart the container to apply changes
sh
docker restart smokeping

Useful Commands

View real-time logs

sh
docker logs -f smokeping

Restart SmokePing

sh
docker restart smokeping

Stop SmokePing

sh
docker stop smokeping

Start SmokePing

sh
docker start smokeping