Clone this repository
$ cd docker-hdfs-client
$ docker build . -t hdfs-client
$ docker run --rm -it --name hdfs hdfs-client /bin/bash
Once inside the container, you can run HDFS commands as the hdfs user.
If you come across a Hadoop Cluster with no Kerberos Auth, you can have some real fun ;-)