Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

install container

1a- Install docker on linux
pull the containersudo docker pull linuxserver/smokeping

create a directory to put the configuration

mkdir smokeping  (/home/kali/smokeping/) 

just run ( docker cli )


Code Block
titledocker run
sudo docker run -d \
--name=smokeping \
-e PUID=1000 \
-e PGID=1000 \
-p 8080:80 \
-v /home/kali/smokeping/config:/config \
--restart unless-stopped \
linuxserver/smokeping




create a docker-compose
install docker-compose


apt install docker-compose


https://hub.docker.com/r/linuxserver/smokeping

mkdir /home/kali/smokeping/


Code Block
titledocker-compose
---
services:
smokeping:
image: lscr.io/linuxserver/smokeping:latest
container_name: smokeping
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- MASTER_URL=http://<master-host-ip>:80/smokeping/ #optional
- SHARED_SECRET=password #optional
- CACHE_DIR=/tmp #optional
volumes:
- /home/kali/smokeping/config:/config
- /home/kali/smokeping/data:/data
ports:
- 8080:80
restart: unless-stopped



docker-compose up

docker-compose down