[Bug] Run pulsar in docker container is failing with "Pulsar requires Java 17 or later" #23891
Open
2 of 3 tasks
Labels
type/bug
The PR fixed a bug or issue reported a bug
Search before asking
Read release policy
Version
Running on docker in Mac OS Version 15.2
Version: 27.4.0
Context: desktop-linux
Pulsar versions 3.3.2, 4.0.2
Minimal reproduce step
When we run command
docker run -it -p 6650:6650 -p 8080:8080 --mount source=pulsardata,target=/pulsar/data --mount source=pulsarconf,target=/pulsar/conf apachepulsar/pulsar:4.0.2 bin/pulsar standalone
Error is as below:
Error: Pulsar requires Java 17 or later.
Below docker compose also fails
What did you expect to see?
Run pulsar as normal.
What did you see instead?
Error is as below:
Error: Pulsar requires Java 17 or later.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: