Easiest way to work with this
- Setup Docker
wget https://gist.github.com/Lewiscowles1986/d4ef75a2d9c3e7d6e1794c3e90246c9a/raw/{Dockerfile,docker-entrypoint.sh}
chmod +x docker-entrypoint.sh
docker build --force-rm -t stencil-xenial .
docker run --rm -v ~/clients/{whoever}/.stencil:/etc/stencil/.stencil -v `pwd`/theme:/opt/stencil -it stencil-xenial
You don't have to mount .stencil
You don't have to mount a theme folder if you don't plan on editing files
The container destroys itself after every exit (it's designed to be ephemeral with you maintaining your own stencil theme files)