kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
7cad4e699d
commit
42342d7677
|
@ -21,22 +21,26 @@ title: minetest
|
||||||
|
|
||||||
## Supported Architectures
|
## Supported Architectures
|
||||||
|
|
||||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||||
|
|
||||||
Simply pulling `lscr.io/linuxserver/minetest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
Simply pulling `lscr.io/linuxserver/minetest:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||||
|
|
||||||
The architectures supported by this image are:
|
The architectures supported by this image are:
|
||||||
|
|
||||||
| Architecture | Tag |
|
| Architecture | Available | Tag |
|
||||||
| :----: | --- |
|
| :----: | :----: | ---- |
|
||||||
| x86-64 | amd64-latest |
|
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||||
| arm64 | arm64v8-latest |
|
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||||
| armhf | arm32v7-latest |
|
| armhf| ✅ | arm32v7-\<version tag\> |
|
||||||
|
|
||||||
## Application Setup
|
## Application Setup
|
||||||
|
|
||||||
You can find the world maps, mods folder and config files in /config/.minetest.
|
You can find the world maps, mods folder and config files in /config/.minetest.
|
||||||
|
|
||||||
|
If you want to override the advertised port, ensure you add --port in your CLI_ARGS AND ensure the internal port reflects the change, ie;
|
||||||
|
if you set your advertised port to 40000 with --port 40000 then your ports declaration should be 40000:40000/udp
|
||||||
|
|
||||||
|
|
||||||
Client and server must be the same version, please browse the tags here to pull the appropriate version for your server:
|
Client and server must be the same version, please browse the tags here to pull the appropriate version for your server:
|
||||||
|
|
||||||
https://hub.docker.com/r/linuxserver/minetest/tags
|
https://hub.docker.com/r/linuxserver/minetest/tags
|
||||||
|
@ -52,13 +56,13 @@ To help you get started creating a container from this image you can either use
|
||||||
version: "2.1"
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
minetest:
|
minetest:
|
||||||
image: lscr.io/linuxserver/minetest
|
image: lscr.io/linuxserver/minetest:latest
|
||||||
container_name: minetest
|
container_name: minetest
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
- CLI_ARGS="--gameid minetest" #optional
|
- CLI_ARGS="--gameid minetest --port 30000" #optional
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/data:/config/.minetest
|
- /path/to/data:/config/.minetest
|
||||||
ports:
|
ports:
|
||||||
|
@ -74,11 +78,11 @@ docker run -d \
|
||||||
-e PUID=1000 \
|
-e PUID=1000 \
|
||||||
-e PGID=1000 \
|
-e PGID=1000 \
|
||||||
-e TZ=Europe/London \
|
-e TZ=Europe/London \
|
||||||
-e CLI_ARGS="--gameid minetest" `#optional` \
|
-e CLI_ARGS="--gameid minetest --port 30000" `#optional` \
|
||||||
-p 30000:30000/udp \
|
-p 30000:30000/udp \
|
||||||
-v /path/to/data:/config/.minetest \
|
-v /path/to/data:/config/.minetest \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
lscr.io/linuxserver/minetest
|
lscr.io/linuxserver/minetest:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
@ -98,7 +102,7 @@ Docker images are configured using parameters passed at runtime (such as those a
|
||||||
| `PUID=1000` | for UserID - see below for explanation |
|
| `PUID=1000` | for UserID - see below for explanation |
|
||||||
| `PGID=1000` | for GroupID - see below for explanation |
|
| `PGID=1000` | for GroupID - see below for explanation |
|
||||||
| `TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
| `TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
||||||
| `CLI_ARGS="--gameid minetest"` | Optionally specify any [CLI variables](https://wiki.minetest.net/Command_line) you want to launch the app with |
|
| `CLI_ARGS="--gameid minetest --port 30000"` | Optionally specify any [CLI variables](https://wiki.minetest.net/Command_line) you want to launch the app with |
|
||||||
|
|
||||||
### Volume Mappings (`-v`)
|
### Volume Mappings (`-v`)
|
||||||
|
|
||||||
|
@ -156,10 +160,11 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
||||||
* Container version number
|
* Container version number
|
||||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' minetest`
|
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' minetest`
|
||||||
* Image version number
|
* Image version number
|
||||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/minetest`
|
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/minetest:latest`
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **02.05.22:** - Allow specifying the advertised port.
|
||||||
* **17.03.22:** - Install forked irrlicht, add zstd.
|
* **17.03.22:** - Install forked irrlicht, add zstd.
|
||||||
* **19.01.22:** - Rebasing to alpine 3.15.
|
* **19.01.22:** - Rebasing to alpine 3.15.
|
||||||
* **02.06.20:** - Rebasing to alpine 3.12.
|
* **02.06.20:** - Rebasing to alpine 3.12.
|
||||||
|
|
Ładowanie…
Reference in New Issue