[root@localhost ~]# docker run -it -v /etc:/etc1 8251da35e7a7 /bin/bash
Here: /etc is host machine directory and /etc1 is the target inside container