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 --env-file env_variables.txt -it michabirklbauer/mahout:latest
-
Building locally from Dockerfile:
To build locally, clone the repository and run the docker-compose file:
git clone https://github.com/t0xic-m/mahout_docker.git cd mahout_docker docker-compose run mahout
Try an example:
The Docker image runs the following Apache services: