Installing Lighter on Docker
March 8, 2026 ยท View on GitHub
If you're thinking of running Lighter on docker, you are probably using it with YARN backend. When you are running it, you should expose two ports (REST API port and Python Gateway port), as shown in this example:
docker run ghcr.io/exacaster/lighter:0.1.6-spark3.5.8 \
-p 8080:8080 \
-p 25333:25333 \
-e LIGHTER_KUBERNETES_ENABLED=false \
-e LIGHTER_YARN_ENABLED=true \
-e LIGHTER_YARN_URL=http://your_yarn.local
Click here to see all possible configuration options.