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.
sudo -i mkdir /opt/moodle chmod 777 /opt/moodle cd /opt/moodle git clone https://github.com/moodle/moodle.git exit
mkdir moodle cd moodle git clone https://github.com/moodlehq/moodle-docker.git
export MOODLE_DOCKER_WWWROOT=/opt/moodle/moodle export MOODLE_DOCKER_WEB_PORT=80 export MOODLE_DOCKER_DB=pgsql
bin/moodle-docker-compose up -d
In my case, I can access to http://http://172.17.8.101