Hadoop HDFS standalone docker image Also can be expanded to Cluster
4.4K
Hadoop Pseudo Distributed File System

docker run -d --net host --name hdfs dockerq/docker-hdfs
Then browser localhost:50070 to see HDFS WebUI
The default directory of datanode and namenode is /hdfsdata.So you can volumn it in onder to backing up data.
docker run -d --name --net host -v host_data_path:/hdfsdata dockerq/docker-hdfs
If your container's network mode is host and your host runs SSHD too,you should change your container's sshd binding port using environment SSH_PORT.
docker run -d --net host -e SSH_PORT=2222 --name hdfs dockerq/docker-hdfs
You should check the config for sshd. Config file lies in /etc/ssh/sshd_config. More details click
ssh config on Ubuntu
This docker image aims to exploring HDFS and setuping pseudo distributed HDFS quickly.I do not suggest you use it in production environment.
Content type
Image
Digest
Size
563.7 MB
Last updated
over 9 years ago
docker pull dockerq/docker-hdfs