Managed Persistent Storage
Named volumes are managed by Docker and are a convenient choice for databases and other stateful services. Docker controls where the volume is stored on the host.
Mount a named volume into a container using -v volume:/path or the equivalent --mount syntax. Prefer the more explicit --mount form in scripts when readability matters.