read write docker code example
Example: docker mount volume
docker run -v /host/directory:/container/directory -other -options image_name command_to_run
docker run -v /host/directory:/container/directory -other -options image_name command_to_run