Skip to content

Docker Installation

Scott edited this page Apr 21, 2022 · 6 revisions

Docker Installation

You can pull a image from dockerhub and set up EasyPing with a few changes. You lose some ability such as scripts that use more then just bash, lets say you wanted Python and Python libraries, you'll want to extend the image and make a custom image from it with the needed libraries.

You will need to mount a data volume, look at the repository to see what's in it. Rename the example files, this is talked about in the installation page. YOU MUST DO THIS FIRST

To run it:

docker run -it -v ~/path/to/data:/easyping/data --name easyping scottscreations/easyping

If you want to specify groups that are in your hosts.csv do something like this:

docker run -it -v ~/path/to/data:/easyping/data --name easyping-groupname scottscreations/easyping groupname

You can then run docker start -i easyping or name of container and it will start the check. You can cron this to run whenever you want.

Clone this wiki locally