This uses the official pandoc containers.
docker run --rm --volume "`pwd`:/data" --user `id -u`:`id -g` pandoc/latex:2.16 -t revealjs -s -o slides.html slides.md -V revealjs-url=https://unpkg.com/reveal.js
See the Pandoc manual for how to write the slides.
See built in themes.