file system binding docker user code example
Example 1: docker mount volume
docker run -v /host/directory:/container/directory -other -options image_name command_to_run
Example 2: docker create volume
docker volume create [OPTIONS] [VOLUME]
docker run -v /host/directory:/container/directory -other -options image_name command_to_run
docker volume create [OPTIONS] [VOLUME]