Connect to a CoreOS box

Check How to use CoreOS on MacOS if you don't ready CoreOS box setting.
After readied connect to a one of CoreOS box of vagrant.

ssh core-01

Clone moodle

sudo -i
mkdir /opt/moodle
chmod 777 /opt/moodle
cd /opt/moodle
git clone https://github.com/moodle/moodle.git
exit

Clone moodke-docker

mkdir moodle
cd moodle
git clone https://github.com/moodlehq/moodle-docker.git

Setting Moodle exports

export MOODLE_DOCKER_WWWROOT=/opt/moodle/moodle
export MOODLE_DOCKER_WEB_PORT=80
export MOODLE_DOCKER_DB=pgsql

Run moodle-docker-compose

bin/moodle-docker-compose up -d

Access your Moodle site

In my case, I can access to http://http://172.17.8.101

Try one.

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.