What is Docker volume and how to work with it?

Docker volumes are the file systems mounted with in a containers, that are originally created in the root file system of the docker host. Docker volumes can be shared across multiple containers running in that particular Docker host.

Docker volumes can be used to share any common artifacts across container.

docker volume create [volume_name] command will create the docker volume.