Public | Automated Build

Last pushed: a year ago
Short Description
Simple Spark example build with Docker
Full Description

Spark

Simple Spark example build with Docker.

Prerequisites

Build

At root directory, run:

docker build -t filipecorrea/spark .

This will take a while for the first time since it downloads and installs Maven and downloads all the project’s dependencies. Every subsequent start of this build will only take a few seconds, as again everything will be already cached.

Run

Once the image is built, start it with:

docker run -d -p 4567:4567 filipecorrea/spark

And test it with:

curl http://localhost:4567

In Mac OS, you should first get the Docker machine IP. Test it with:

open "http://$(docker-machine ip default):4567/"
Docker Pull Command
Owner
filipecorrea
Source Repository

Comments (0)