Docker Volumes: How to Create & Get Started
phoenixnap.com › kb › docker-volumesJul 27, 2020 · To create a Docker Volume use the command: docker volume create [volume_name] Docker automatically creates a directory for the volume on the host under the /var/lib/docker/volume/ path. You can now mount this volume on a container, ensuring data persistence and data sharing among multiple containers.