DockerDocker Data Volumes


Docker data volumes provide a way to persist data independent of a container's life cycle. Volumes present a number of helpful features such as:

Mounting a host directory within the container, sharing data in-between containers using the filesystem and preserving data if a container gets deleted


  • docker volume [OPTIONS] [COMMAND]