/docker-ping

Container to continuously ping a server

Primary LanguageShellISC LicenseISC

docker-ping

ENV

  • HOSTNAME Server you would like to continuously ping [ default=localhost ]
  • TIMEOUT Number of seconds between timeouts [ default=300 ]

docker-compose.yml

...
services:
  ping:
    image: willfarrell/ping
    environment:
      HOSTNAME: "10.0.0.61"
      TIMEOUT: 300