Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.04 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.04 KB

Minecraft Bedrock Server

This image will allow you to start a non Java Minecraft server.

Getting started

If you don't have any config files just start the server and stop it again and all the default files and folders will appear in your data folder.

docker run -itd \
--name bedrock \
-v "/yourDataPath:/bedrockConfig" \
-p 19132:19132/udp \
weheartgaming/bedrock-server:latest
version: "3"
services:
  bedrock:
    container_name: bedrock
    image: weheartgaming/bedrock-server:latest
    stdin_open: true
    tty: true
    ports:
      - 19132:19132/udp
    volumes:
      - /yourDataPath:/bedrockConfig
    restart: unless-stopped

We added the -it flags so you can attach to the server and run commands.

Accessing the server

To access the running container, open your preferred terminal and run docker attach bedrock. You will now be able to run minecraft server commands.

To exit the attached server, without shutting it down, use the following key combination ctrl-p ctrl-q

Tags

  • 1.19.10.03, latest