Container to continuously ping a server
 
 
Go to file
Júlio Pedrosa 7cfa0c4f3c formating ping output 2023-03-10 12:03:55 +01:00
Dockerfile add healthcheck 2017-02-22 15:44:36 -07:00
LICENSE add license 2017-01-16 08:03:56 -07:00
README.md add default & remove bash 2017-01-22 12:32:01 -07:00
ping formating ping output 2023-03-10 12:03:55 +01:00

README.md

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