playlyfe / docker-moodle Goto Github PK
View Code? Open in Web Editor NEWA docker environment for developing on the Moodle LMS
License: MIT License
A docker environment for developing on the Moodle LMS
License: MIT License
Hello,
i've cloned the repository and tried to use this docker image but it failed on ./build.sh step.
Here is what i've done and the outputs:
root@sheena:/home/neis/docker-moodle# ./build.sh
Sending build context to Docker daemon 146.9 kB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:trusty
---> 9cbaf023786c
Step 1 : MAINTAINER Peter John [email protected]
2015/04/17 14:36:53 invalid argument
root@sheena:/home/neis/docker-moodle# echo $?
1
Can you help?
Kind regards,
Daniel
Hello!
I have just installed it using your instructions but when I go to http://localhost:3000/
Something happen:
Thanks in advance
Chopin
http://localhost:3000/ show me an empty folder. There isn't any file to run installation wizard for moodle.
Here it is my output after build:
root@riz-002:~/docker-moodle# docker build --tag="playlyfe/moodle:latest" .
Sending build context to Docker daemon 214.5kB
Step 1/27 : FROM ubuntu:trusty
---> 6e4f1fe62ff1
Step 2/27 : MAINTAINER Peter John [email protected]
---> Using cache
---> 711ba208d2e3
Step 3/27 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> f459f7afdf87
Step 4/27 : RUN apt-get update && apt-get -y install curl supervisor apache2 libapache2-mod-php5 mysql-server php5-mysql pwgen php-apc php5-mcrypt php5-gd php5-curl php5-xmlrpc php5-intl
---> Using cache
---> 7c46e454582d
Step 5/27 : ADD start-apache2.sh /start-apache2.sh
---> Using cache
---> 244d8b684758
Step 6/27 : ADD start-mysqld.sh /start-mysqld.sh
---> Using cache
---> b3789747a66a
Step 7/27 : ADD run.sh /run.sh
---> Using cache
---> 60363b4fa4cb
Step 8/27 : RUN chmod 755 /.sh
---> Using cache
---> 1a54a8d5dbce
Step 9/27 : ADD my.cnf /etc/mysql/conf.d/my.cnf
---> Using cache
---> 62648883665b
Step 10/27 : ADD supervisord-apache2.conf /etc/supervisor/conf.d/supervisord-apache2.conf
---> Using cache
---> 3c4985e2b4e9
Step 11/27 : ADD supervisord-mysqld.conf /etc/supervisor/conf.d/supervisord-mysqld.conf
---> Using cache
---> 5c8c8afb9fdb
Step 12/27 : RUN rm -rf /var/lib/mysql/
---> Using cache
---> ec7309a101ed
Step 13/27 : ADD create_mysql_admin_user.sh /create_mysql_admin_user.sh
---> Using cache
---> 16f1964488a6
Step 14/27 : RUN chmod 755 /*.sh
---> Using cache
---> f0699611433c
Step 15/27 : ADD apache_default /etc/apache2/sites-available/000-default.conf
---> Using cache
---> a8edb71067b6
Step 16/27 : ADD ports_default /etc/apache2/ports.conf
---> Using cache
---> 12035a792bf2
Step 17/27 : RUN a2enmod rewrite
---> Using cache
---> 05f5fafdaf47
Step 18/27 : ENV PHP_UPLOAD_MAX_FILESIZE 10M
---> Using cache
---> f19db60abc52
Step 19/27 : ENV PHP_POST_MAX_SIZE 10M
---> Using cache
---> 3e7af6fda905
Step 20/27 : VOLUME ["/etc/mysql", "/var/lib/mysql" ]
---> Using cache
---> 3153b2de8e4a
Step 21/27 : RUN locale-gen en_US en_US.UTF-8
---> Using cache
---> b74c909d48a5
Step 22/27 : RUN dpkg-reconfigure locales
---> Using cache
---> b4032833e85d
Step 23/27 : RUN adduser --disabled-password --gecos moodle moodleuser
---> Using cache
---> 86980b2921b4
Step 24/27 : RUN mkdir /var/www/moodledata
---> Using cache
---> dd879f2da865
Step 25/27 : RUN chmod 777 /var/www/moodledata
---> Using cache
---> a47aed0f48c8
Step 26/27 : EXPOSE 3000 3306
---> Using cache
---> 7a79906df7b3
Step 27/27 : CMD ["/run.sh"]
---> Using cache
---> 872e65b134b8
Successfully built 872e65b134b8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.