Running Apache Mahout in Docker.
The following will run Mahout in a Spark shell:
-
Docker Hub:
This image is also available on Docker Hub:
docker pull michabirklbauer/mahout:latest docker run -it michabirklbauer/mahout:latest
-
Building locally from Dockerfile:
To build locally, clone the repository and run docker build:
git clone https://github.com/michabirklbauer/mahout_docker.git cd mahout_docker docker build . -t mahout docker run -it mahout
Try an example:
The Docker image runs the following Apache services: