docker container create a volume as shared directory with host 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