A Dockerfile that installs the latest Moodle, Apache, PHP, MySQL and SSH
git clone https://github.com/sergiogomez/docker-moodle.git
cd docker-moodle
docker build -t moodle .
To spawn a new instance of Moodle:
docker run --name moodle1 -e VIRTUAL_HOST=moodle.domain.com -d -t -p 80 -p 22 moodle
You can visit the following URL in a browser to get started:
http://moodle.domain.com/moodle
Thanks to eugeneware and ricardoamaro for their Dockerfiles.