shallot image for docker
This image provide a shallot binary with predefined params and continuos execution.
Simple:
$ docker run -it --rm -v $(pwd)/results:/data -e PATTERN="^mysite" exoslpm/shallot
This will to generate files in ./results
with the format
{timestamp}.{nanoseconds}
with the onion and private key.
The pattern to generate, by default use ^test
for testing, for more
information about shallot check the repo.
Number of CPU's/cores to use, by default use all.
Output pattern, use a command like /data/\$(date +%s)
, by default use
/data/\$(date +%s.%N)
.
You can used /dev/stdout
too.
Add extra params to shallot command.
To build it yourself, clone the repository and run docker build:
$ git clone https://github.com/exos/docker-shallot.git
$ cd docker-shallot
$ docker build -t shallot .
Use VERSION
argument to build a particular version of shallot, for example:
$ docker build --build-arg VERSION=0.0.2 -t shallot .