Sign in

luanti

5.18.0-ls7

Luanti (formerly Minetest) is an open source voxel game-creation platform with easy modding and game creation

docker pull ghcr.io/linuxserver-playground/luanti:latest

Quick start · configure#

Pick the optional settings and mods you want, set your paths, ports and values, then copy the result.

Image
Identity

The user the application runs as and its timezone.

Required
Where luanti stores config files and maps etc.
Port Luanti listens on (UDP).
Optional settings1

Tick what you need; it is added to every output with its value.

Mods

0 for luanti, 0 universal mods suggested for it, and 13 other universal mods. Ticked mods join one DOCKER_MODS value in the order you tick them.

---
services:
  luanti:
    image: ghcr.io/linuxserver-playground/luanti:latest
    container_name: luanti
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/luanti/data:/config/.minetest
    ports:
      - 30000:30000/udp
    restart: unless-stopped

Required settings only. Tick optional settings and mods to add them.

  • Replace the /path/to folders with real folders on your host; they are created if missing.

Install on …

Adding a store to your platform

Version tags#

TagLatest buildBuiltTests
:latestStable releasesbranch main · stable5.18.0-ls7amd64 · arm64 passed

Architectures#

Pulling :latest picks the right one for your host automatically.

  • x86_64amd64-latest
  • arm64arm64v8-latest

Inside the latest image#

ghcr.io/linuxserver-playground/luanti:5.18.0-ls7

Explore this build
Base image
ghcr.io/linuxserver-playground/baseimage-alpine:3.22
Upstream version
5.18.0
amd64 compressed
29.8 MB · 9 layers
arm64 compressed
30.5 MB · 9 layers
amd64 packages
63 · Alpine Linux v3.22
arm64 packages
63 · Alpine Linux v3.22
Tests
passed
Built
Reason
weekly package check

In the fleet#

Live branches, their latest release, upstream version and next scheduled check.

luanti on the fleet board

live branchesloading…

Branch → tagLast buildReleasedUpstreamDriftNext checkFlags
main → :latestsuccess
5.18.0
? unknown––

Application setup#

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:

https://hub.docker.com/r/linuxserver/luanti/tags

Bundled Games

As per upstream request this image no longer includes minetest_game, so if required you will need to either install via ContentDB or download it from their repo and copy to /config/.minetest/games/minetest

Parameters#

Ports#
PortFunctionRequired
30000:30000/udpPort Luanti listens on (UDP).required
Environment variables#
VariableFunctionRequired
PUID=1000User IDrequired
PGID=1000Group IDrequired
TZ=Etc/UTCTimezonerequired
CLI_ARGS=--gameid devtestOptionally specify any CLI variables (opens in a new tab) you want to launch the app withoptional
Volumes#
PathFunctionRequired
/config/.minetestWhere luanti stores config files and maps etc.required

Environment variables from files (Docker secrets)#

You can set any environment variable from a file by using a special prepend FILE__.

As an example:

-e FILE__MYVAR=/run/secrets/mysecretvariable

Will set the environment variable MYVAR based on the contents of the /run/secrets/mysecretvariable file.

Umask for running applications#

For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting. Keep in mind umask is not chmod it subtracts from permissions based on it’s value it does not add. Please read up here before asking for support.

User / Group Identifiers#

When using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id your_user as below:

id your_user

Example output:

uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)

Updating Info#

Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the Application Setup section above to see if it is recommended for the image.

Below are the instructions for updating containers:

Via Docker Compose

  • Update images:

    • All images:

      docker-compose pull
    • Single image:

      docker-compose pull luanti
  • Update containers:

    • All containers:

      docker-compose up -d
    • Single container:

      docker-compose up -d luanti
  • You can also remove the old dangling images:

    docker image prune

Via Docker Run

  • Update the image:

    docker pull ghcr.io/linuxserver-playground/luanti:latest
  • Stop the running container:

    docker stop luanti
  • Delete the container:

    docker rm luanti
  • Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your /config folder and settings will be preserved)

  • You can also remove the old dangling images:

    docker image prune

Image Update Notifications - Diun (Docker Image Update Notifier)

Tip

We recommend Diun for update notifications. Other tools that automatically update containers unattended are not recommended or supported.

Building locally#

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/linuxserver-playground/docker-luanti.git
cd docker-luanti
docker build \
  --no-cache \
  --pull \
  -t ghcr.io/linuxserver-playground/luanti:latest .

The ARM variants can be built on x86_64 hardware and vice versa using ghcr.io/linuxserver/qemu-static

docker run --rm --privileged ghcr.io/linuxserver/qemu-static --reset

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Every push builds and tests the image with the shared workflow in linuxserver-playground/workflows; every build’s tests, screenshots and package changes are on the image’s builds on the website.

Builds#

The newest five builds per branch, each with its CI report; 2 older releases are on GitHub, listed below.

TagBuiltReasonChangeResultSize
5.18.0-ls7main · a5869e0fweekly package checkbasesuccess29.8 MB amd6430.5 MB arm64
5.18.0-ls6main · e745a79dweekly package checkbasesuccess29.8 MB amd6430.5 MB arm64
5.18.0-ls5main · 271ae8fcweekly package checkbasesuccess29.8 MB amd6430.5 MB arm64
5.18.0-ls4main · c9422635push to the branchlinuxserversuccess30.0 MB amd6430.7 MB arm64
5.18.0-ls3main · 26d5801eupstream checkmixedsuccess29.9 MB amd6430.6 MB arm64
Older releases2Release, run record and run on GitHub

Mods#

Add a mod with DOCKER_MODS=<image>; separate several with |.

All mods for luanti

No mod targets luanti specifically; the 13 universal mods work with every image.

Changelog#

  1. Use latest LuaJIT from git to fix math bugs

  2. Rebase to Alpine 3.22.

  3. Initial Release.

Support#

Questions about running luanti? Start with the documentation and the community; open an issue for bugs.

  • Shell access whilst the container is running:

    docker exec -it luanti /bin/bash
  • To monitor the logs of the container in realtime:

    docker logs -f luanti
  • Container version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' luanti
  • Image version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver-playground/luanti:latest

Community project

Improve luanti

This image is kept up by volunteers, and you can be one of them. You don't need to know how the pipeline works: point an AI agent at the harness and describe what you want. It reproduces the problem in your Docker, tests the change and drafts the pull request for you to check.

Ask your agent

  • Something is wrong with the luanti image: <what you saw>. Reproduce it, fix it and draft the PR.
  • Add <package> to the luanti image, test it and draft the PR.
  • Make a mod for luanti that <what you need>, and test it.

Contributing an image Every way to help Get the harness (opens in a new tab)

Related

Browse all

azahar

12127.0-2-ls15

Azahar is an open-source 3DS emulator based on Citra.

0 GitHub starsselkies

Wolfenstein: Blade of Agony is a story-driven WWII shooter inspired by Wolfenstein and Doom.

0 GitHub starsselkies

dogwalk

2a35eb6a-ls11

DOGWALK is Blender Studio's long awaited second game project, focused on creating a bite-sized interactive storytelling playground. Play as a big adorable dog and explore the winter woods with a little kid.

0 GitHub starsselkies

dolphin

2609b-ls13

Dolphin Emulator lets you play GameCube and Wii games with various graphical enhancements and other features are available to improve your game experience.

0 GitHub starsselkies