sources and issue tracker: https://github.com/docToolchain/docker-image
create a bash script within the root of your project like this one:
doctoolchain.sh
#!/usr/bin/env bash
docker run --rm -it --entrypoint /bin/bash -v ${PWD}:/project rdmueller/doctoolchain:v1.1.0 \
-c "doctoolchain . $1 $2 $3 $4 $5 $6 $7 $8 $9 -PmainConfigFile=config/docToolchain.groovy && exit"
As you can see, this command will pull the container, run it, mount your project folder and execute docToolchain.
You can overrride the docToolchain version to use and some parameters like the location of the config file.
With this script, you use docToolchain on your project like this:
./doctoolchain.sh generateHTML
on windows, the following batch script does the same:
docker run --rm --entrypoint /bin/bash -it -v %cd%:/project rdmueller/doctoolchain:v1.1.0 -c "doctoolchain . %1 %2 %3 %4 %5 %6 %7 %8 %9 -PmainConfigFile=config/docToolchain.groovy && exit"