2020-05-25

Docker notes and using Hadoop on container

Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. (c. Wikipedia) There are a number of sources to learn Docker, but I shall show some useful notes and how to use HDFS using container on Linux.







Use this link to download Docker for all OS. Tried to list most frequently used and useful commands to handle Docker images or containers.

Docker Hub is the spot where official or unofficial Docker images shared with us, anyone can post a Docker image. Instead of installing any frameworks or application on your own container manually, using ready images is recommended. No doubt that it depends on your business requirements.

First, search for Hadoop through Docker Hub, I have selected this one. While pulling it on docker, it takes related image from Docker Hub repository automatically. Linux OS is utilized while creating this image. Usually all technical documentation is written on each post's page. It can take several minutes to download and install.Follow these steps to run and execute Hadoop DFS container, afterward you can use any HDFS commands on it:



Terminal view:
Hadoop container on Docker

No comments:

Post a Comment