As part of Cypriot Free Software Community projects we developed some moodle docker images that offers a basic moodle installation in docker.
You can pull it from docker hub:
https://hub.docker.com/r/ellakcy/moodle
And have a look on source code as well:
https://github.com/ellakcy/docker-moodle
If any issue do not hesitate on setting an issue: https://github.com/ellakcy/docker-moodle/issues
Also presented in Fosscomm 2017 and in Fosscomm 2019 in Greece.