Docker installΒΆ

  • Clone the repository

  • Install docker image

docker image build -t wpwatcher .
  • wpwatcher command would look like :

docker run -it -v 'wpwatcher_data:/wpwatcher/.wpwatcher/' wpwatcher

It will use docker volumes in order to write files and save reports

  • Create config file: As root, check docker volume inspect wpwatcher_data to see Mountpoint, then create the config file

docker run -it wpwatcher --template_conf > /var/lib/docker/volumes/wpwatcher_data/_data/wpwatcher.conf
vim /var/lib/docker/volumes/wpwatcher_data/_data/wpwatcher.conf
  • Create an alias and your good to go

alias wpwatcher="docker run -it -v 'wpwatcher_data:/wpwatcher/.wpwatcher/' wpwatcher"