Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bedrock support not working with Docker #567

@Louis-PAGNIER

Description

@Louis-PAGNIER

Hello,
It looks like geyser cannot be started on the Gate Docker image because it can't find java.

Here is the error I am getting when I start the proxy in a simple docker compose configuration:

gate-classic  | 2025-09-10T22:42:38.390Z	INFO	bedrock.managed	managed/managed.go:122	starting geyser standalone process	{"java": "java", "jar": "/.geyser/geyser-standalone.jar", "config": "/.geyser/config.yml", "bedrockPort": 19132, "args": ["-jar", "/.geyser/geyser-standalone.jar", "--nogui", "--config", "/.geyser/config.yml"]}
gate-classic  | 2025-09-10T22:42:38.390Z	ERROR	bedrock	proxy/proxy.go:80	failed to start geyser integration	{"error": "managed geyser start failed: failed to start geyser process: exec: \"java\": executable file not found in $PATH"}
gate-classic  | go.minekube.com/gate/pkg/edition/bedrock/proxy.(*Proxy).Start
gate-classic  | 	/workspace/pkg/edition/bedrock/proxy/proxy.go:80
gate-classic  | go.minekube.com/gate/pkg/gate.New.func5
gate-classic  | 	/workspace/pkg/gate/gate.go:110
gate-classic  | go.minekube.com/gate/pkg/runtime/process.RunnableFunc.Start
gate-classic  | 	/workspace/pkg/runtime/process/collection.go:33
gate-classic  | go.minekube.com/gate/pkg/runtime/process.(*collection).startRunnable.func1
gate-classic  | 	/workspace/pkg/runtime/process/internal.go:159

Here is the config.yml I used:

config:
  bind: 0.0.0.0:25565
  onlineMode: false
  servers:
    vanilla: server-1:25565
  try:
    - vanilla
  status:
    motd: |
      §bA Gate Classic Proxy
      §bVisit ➞ §fgithub.com/minekube/gate
    showMaxPlayers: 1000

  acceptTransfers: true
  
  bedrock:
    managed: true    

api:
    enabled: true
    bind: 0.0.0.0:8080

Note: The proxy can start when I use the same config with a local installation of gate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions