Quick start with Docker

Run Vanillite in a container. You need Docker and nothing else.

Beta. The image is on Docker Hub as thoenehannes/vanillite. The newest release is 0.1.0-beta.4.

Option A: one line

docker run -d --name vanillite -p 25565:25565 -v vanillite-data:/data \
    -e VANILLITE_EULA=true --stop-timeout 60 thoenehannes/vanillite:beta

VANILLITE_EULA=true means you accept the Minecraft EULA.

You should see: a long container ID. Check the log:

docker logs -f vanillite

You should see: Done (…s)! For help, type "help". Press Ctrl+C to leave the log (the server keeps running).

Docker Compose keeps all settings in one file. Create a folder, and in it a file compose.yaml. Copy this complete example:

services:
  vanillite:
    image: thoenehannes/vanillite:beta   # or thoenehannes/vanillite:mc26.3-beta to stay on Minecraft 26.3
    container_name: vanillite
    restart: unless-stopped
    ports:
      - "25565:25565/tcp"                # Minecraft Java
      # Bedrock players: remove the # on these two lines and on VANILLITE_BEDROCK__ENABLED below
      # - "19132:19132/udp"
      # - "19132:19132/tcp"
    environment:
      VANILLITE_EULA: "true"             # you accept the Minecraft EULA (https://aka.ms/MinecraftEULA)
      VANILLITE_MOTD: "My Vanillite server"
      VANILLITE_MAX_PLAYERS: "20"
      VANILLITE_VIEW_DISTANCE: "10"
      # VANILLITE_PROFILE: "vanilla"     # default: paper. vanilla = aims to match Vanilla as exactly as possible; also spigot, performance, crowd, technical
      # VANILLITE_STORAGE__WORLD_FORMAT: "anvil"   # Vanilla's region files instead of the own format
      # VANILLITE_BEDROCK__ENABLED: "true"         # Bedrock players, see Bedrock players
    volumes:
      - vanillite-data:/data             # world, settings and cache; or ./data:/data (folder must be writable by user ID 10001)
    stop_grace_period: 60s               # time to save all worlds when stopping
    stdin_open: true                     # console: docker compose attach vanillite
    tty: true
    # Small machine? Remove the # on the next two lines. Vanillite reads the limits itself.
    # cpus: 1
    # mem_limit: 1g

volumes:
  vanillite-data:

Start it:

docker compose up -d

The three commands you need:

What Command
Start (in the background) docker compose up -d
Watch the log (Ctrl+C leaves it, the server keeps running) docker compose logs -f
Stop and remove the container (the world stays in the volume) docker compose down

Update: back up the volume first (it is a beta), then:

docker compose pull && docker compose up -d

You should see: Done (…s)! For help, type "help" in the log.

Every other setting can be an environment variable too: see Environment variables, Profiles and Performance settings. A setting you leave out keeps the value of the profile.

Which profile?

A new server runs with the paper profile: it behaves like a default Paper server, with the common duplication exploits closed. Set VANILLITE_PROFILE=vanilla (-e VANILLITE_PROFILE=vanilla with docker run) for behaviour that aims to match Vanilla as exactly as possible, for example for technical farms. A server that already has a vanillite.toml without a profile keeps vanilla. All profiles: Profiles.

Join

In Minecraft Java Edition 26.3: Multiplayer → Add Server → localhost (or the IP of the machine running Docker).

You should see: the server in the list, and a normal world when you join.

Which tag?

Tag What you get
latest The newest release, also for a newer Minecraft version later. Today the same image as beta.
beta The newest beta, also for a newer Minecraft version later.
mc26.3-beta The newest beta for Minecraft 26.3 only. Pick this one if you want to stay on 26.3.
0.1.0-beta.4-mc26.3 Exactly this release; never changes.

Good to know

  • Console: docker compose attach vanillite (with docker run: docker attach vanillite, and start with -it). Leave it with Ctrl+P, then Ctrl+Q. Ctrl+C stops the server. More, and how to make yourself operator: Server console and first admin steps.
  • Your world, settings, plugins and cache live in the volume vanillite-data (/data in the container). Updating the image keeps them.
  • Update with docker run: docker pull thoenehannes/vanillite:beta, then remove and start the container again.
  • Small machine? Use cpus: 1 and mem_limit: 1g in Compose, or --cpus 1 --memory 1g with docker run: Vanillite reads the limits itself (Small hardware: 1 core and 1 GiB).
  • Spigot and Paper plugins: copy the jars into /data/plugins/ (for example docker cp my-plugin.jar vanillite:/data/plugins/, or the folder of a bind mount) and restart. The server downloads what it needs, including Java, into the volume. Details: Spigot and Paper plugins.

What next?

Make yourself operator: Server console and first admin steps. Installation lists all tags and options. For Bedrock players see Bedrock players. Spigot and Paper plugins: Spigot and Paper plugins.

Next: Pterodactyl and Pelican.