Skip to content

Container to continuously ping a server

License

Notifications You must be signed in to change notification settings

sdgluck/docker-ping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ping

based on https://hub.docker.com/r/willfarrell/ping

CMD

  • HOSTNAME Server you would like to continuously ping [ default=localhost ]

To override the hostname override the CMD, e.g.:

docker run sdgluck/ping -c 'sh ping google.com'

ENV

  • TIMEOUT Number of seconds between timeouts [ default=300 ]

Example:

docker run sdgluck/ping --env TIMEOUT=1

About

Container to continuously ping a server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 51.8%
  • Shell 48.2%