When you create a volume, it is stored within a directory on the container. code example
Example 1: docker create volume
$ docker volume create hello
hello
$ docker run -d -v hello:/world busybox ls /world
Example 2: docker create volume
docker volume create [OPTIONS] [VOLUME]