Docker Community Forums

Share and learn in the Docker community.

Running dcfldd in Docker (access to local drives)


(Ben) #1

Hi, I am wondering how one is able to access host system drives via a docker container. I know that this somewhat defeats the purpose of docker.
I am hosting a Python Flask application that runs dcfldd (dd with some extras) to source drive X to target drive Y.
Thank you.


(Jerry Baker) #2

Hi Ben,

Yes, you can. See: http://docs.docker.com/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume

Thanks,

Jerry