Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle App Docker Images: Difference between revisions

From MoodleDocs
No edit summary
mNo edit summary
Line 5: Line 5:
You can run the app using a Docker image provided by Moodle HQ, with commands like these:
You can run the app using a Docker image provided by Moodle HQ, with commands like these:


=== Specific version ===
== 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.
You can run an specific version of the app using the version number as a tag. Only avalaible from 3.6.0 onwards.

Revision as of 08:09, 28 April 2021

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.

Example:

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

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

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.