Not clear what you are doing. Please define your problem with more details:
What is your environment? How did you start the containers?
What would you like to achieve?
What have you tried so far?
To copy any file from the host machine to a docker container you can use docker cp command or use docker volumes.
If you would like to copy from the host machine to hdfs the easiest way to mount a volume to the docker container and use hdfs dfs -copyFromLocal from inside the containers as the hdfs configuration most probably already there...