A simple Alpine container to run a continuous ping to a host with an interval.
ping -i ${TIMEOUT} ${HOSTNAME}
TIMEOUT Number of seconds between pingsHOSTNAME Host you would like to continuously pingservices:
docker-ping:
container_name: docker-ping
image: pfidr/docker-ping
environment:
- TIMEOUT=10
- HOSTNAME=192.168.1.99
Content type
Image
Digest
Size
2.7 MB
Last updated
over 5 years ago
docker pull pfidr/docker-ping