HOSTNAME
Server you would like to continuously ping [ default=localhost ]TIMEOUT
Number of seconds between timeouts [ default=300 ]
...
services:
ping:
image: detlearsom/ping
environment:
HOSTNAME: "10.0.0.61"
TIMEOUT: 300
This container is adapted from https://github.com/willfarrell/docker-ping.git.