Intel Amd - hermanumrao/docker-hadoop GitHub Wiki

Welcome to the docker-hadoop wiki!

#Docker Hadoop installation Guys please use the following steps for setting up docker with all Hadoop tools Please do remember the following steps will only work on AMD chip-sets (so apple users please don't use this unless you are working on VM). It should take you less than 20 mins on a decent computer with at least 20 Mbps wifi also please ensure you have docker installed on your laptop before starting if you are facing issues with power-shell in Windows, please install git bash and then use Linux commands on it.

For installing Docker

(windows) : please download .exe from docker.com/products/docker-desktop/ (Linux) : paste the following in your terminal line by line wget https://raw.githubusercontent.com/linuxlegion/easy- install/ubuntu(debian_based)/docker/install_docker.sh chmod +x install_docker.sh ./install_docker.sh

Building the Image and container

*Replace ANYNAME with anything like your name *

  1. start by downloading this: share_hadoop.tar - Google Drive
  2. Then open power-shell (in windows) or Terminal (in Linux)
  3. change directory to downloads or where ever you have downloaded the share_hadoop.tar file cd Downloads
  1. for windows:docker load -i share_hadoop.tar for Linux: sudo docker load < share_hadoop.tar
  2. for Windows docker run -it -p 9870:9870 -p 8088:8088 -p 9864:9864 --name ANYNAME hadoop Linux users please add sudo to the above command: sudo docker run -it -p 9870:9870 -p 8088:8088 -p 9864:9864 --name ANYNAME hadoop
  3. now you should have a bash prompt ready just type init it will ask you to enter PC name and choose color you can put whatever you want Now you can quit the shell To restart this use the following commands:

Windows:

docker start ANYNAME
docker exec -it ANYNAME bash

Linux:

sudo docker start ANYNAME
sudo docker exec -it ANYNAME bash