Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 601 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 601 Bytes

docker-moodle

A Dockerfile that installs the latest Moodle, Apache, PHP, MySQL and SSH

Installation

git clone https://github.com/sergiogomez/docker-moodle.git
cd docker-moodle
docker build -t moodle .

Usage

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.