Public Repository

Last pushed: 3 months ago
Short Description
Short description is empty for this repo.
Full Description

Directions:

  1. cd to the moodle-to-be directory
  2. git clone -b MOODLE_33_STABLE git://git.moodle.org/moodle.git --depth=1
  3. download my Dockerfile from bitbucket, https://ELaskin@bitbucket.org/eeg1/ubuntu-apache2-php-mysql-moodle.git
  4. At this point you should have a directory with a Dockerfile and moodle directory
  5. from here docker build -t lamp-moodle .
  6. docker run -p 80:80 -ti lamp-moodle /bin/bash
  7. This gave you an interactive shell in the moodle container.
  8. start apache service apache2 start
  9. start mysql service mysql start
  10. follow directions here to create moodle database
    https://docs.moodle.org/31/en/Step-by-step_Installation_Guide_for_Ubuntu
  11. visit localhost/install.php and follow the installation interface or install via command line php /var/www/html/admin/cli/install.php
  12. Please note that the script that installs apache (upon which this image is based) is configured specifically for usage on my pc.
Docker Pull Command
Owner
elaskin

Comments (0)