Moodle App Docker Images

From MoodleDocs
Revision as of 13:09, 14 July 2021 by David Mudrak (talk | contribs) (Text replacement - "<code>" to "<syntaxhighlight lang="php">")

Setting up the environment using Docker

(For this to work, you must have a Docker installation and know roughly how to use it.)

You can run the app using a Docker image provided by Moodle HQ, with commands like these:

Specific version

You can run an specific version of the app using the version number as a tag. Only avalaible from 3.6.0 onwards.


docker run --rm -p 8100:8100 moodlehq/moodleapp:3.6.0

Latest stable version

This is the stable version that you will find in the stores.

docker run --rm -p 8100:8100 moodlehq/moodleapp:latest

Specific version and latest stable images are created via Docker integration with GitHub every time a new version of the Moodle app is tagged.

Nightly build of the next release

This is the development version that is not stable and is constantly updated. Due to ionic5 migration this is currently equivalent to the latest version.

docker run --rm -p 8100:8100 moodlehq/moodleapp:next

Nightly build images are created via Jenkins every time something new is integrated into the "integration" branch of the moodleapp GitHub repository.

Ionic 5 experimental version

We are currently working on migrating our code to Ionic5. We've created a new temporary tags while developing.

docker run --rm -p 8100:80 moodlehq/moodleapp:ionic5

And another one for behat testing:

docker run --rm -p 8100:80 moodlehq/moodleapp:ionic5-test

Note that the port binding is now using port 80, this is because now it uses an standard http server instead of nodeJS. This is a quicker image.

Both will be renamed or deleted when Ionic5 version is stable.