The one-liner to spin up a code search engine
$ docker run -d -v [path/to/source]:/src -p [public port]:8080 --name opengrok kazunobufujii/opengrok
$ docker exec -it opengrok /usr/opengrok/bin/OpenGrok index /src
$ open http://localhost:[public port]/source/