docker volume create size 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]
$ docker volume create hello
hello
$ docker run -d -v hello:/world busybox ls /world
docker volume create [OPTIONS] [VOLUME]