Skip to content
Browse files

Add docker image documentation (#7969)

* Add docker image documentation
* Update
  • Loading branch information
nerzhul committed Dec 13, 2018
1 parent eda3510 commit 9e36a880feec9fa478b63c6d6cc5bfb707ddd29c
Showing with 27 additions and 1 deletion.
  1. +27 −1
@@ -25,7 +25,8 @@ Table of Contents
4. [Configuration File](#configuration-file)
5. [Command-line Options](#command-line-options)
6. [Compiling](#compiling)
7. [Version Scheme](#version-scheme)
7. [Docker](#docker)
8. [Version Scheme](#version-scheme)

Further documentation
@@ -456,6 +457,31 @@ Build the binaries like described above, but make sure you unselect "RUN_IN_PLAC
Open the generated Project file with VS. Right click "PACKAGE" and choose "Generate".
It may take some minutes to generate the installer.

We provide Minetest server docker images using the Gitlab mirror registry.

Images are built on each commit and available using the following tag scheme:

* `` (latest build)
* `<branch/tag>` (current branch or current tag)
* `<commit-id>` (current commit id)

If you want to test it on a docker server, you can easily run:

sudo docker run<docker tag>

If you want to use it in a production environment you should use volumes bound to the docker host
to persist data and modify the configuration:

sudo docker create -v /home/minetest/data/:/var/lib/minetest/ -v /home/minetest/conf/:/etc/minetest/

Data will be written to `/home/minetest/data` on the host, and configuration will be read from `/home/minetest/conf/minetest.conf`.

Note: If you don't understand the previous commands, please read the official Docker documentation before use.

Version scheme
We use `major.minor.patch` since 5.0.0-dev. Prior to that we used `0.major.minor`.

0 comments on commit 9e36a88

Please sign in to comment.
You can’t perform that action at this time.