Dockerfile of Spark for Docker's automated build.
1.4K
This repository contains a set of scripts and configuration files to run a Apache Spark standalone cluster from Docker container.
docker build -t 47deg/spark:1.5.1 .
docker push 47deg/spark:1.5.1
To run a Spark Master node:
docker run -d -t \
-p 7077:7077 \
-p 8080:8080 \
--name spark_master \
47deg/spark:1.5.1 \
/start-master.sh "$@"
To run a worker node:
docker run -d -t -P \
--name spark_worker_1 \
--link spark_master:spark_master \
47deg/spark:1.5.1 \
/start-worker.sh "$@"
You can run multiple workers. Every worker would be able to find master by its container name spark_master.
This docker image is based on @epahomov work, in his excellent repository https://github.com/epahomov/docker-spark
Content type
Image
Digest
sha256:5b3085a96…
Size
883.7 MB
Last updated
about 11 years ago
docker pull 47deg/spark