docker build create VOLUME example
Example 1: docker build mount volume
$ docker run -it -v "$(pwd)/source_dir:/app/target_dir" ubuntu bash
# OR
$ docker run -it --mount "type=bind,source=$(pwd)/source_dir,target=/app/target_dir" ubuntu bash
Example 2: docker create volume
docker volume create [OPTIONS] [VOLUME]