title: How to change the default location for "docker create volume" command?
body: <p>When creating volumes through the volume API, that is, as the container volume pattern is now not necessarily the best practice anymore:</p>
  
  <pre><code># docker volume inspect test-data
  [
      {
          "Name": "test-data",
          "Driver": "local",
          "Mountpoint": "/var/lib/docker/volumes/test-data/_data"
      }
  ]
  </code></pre>
  
  <p>I would like to, for example, have docker volumes exist in /data (which is mounted in a different physical volume). </p>
  
  <p>This is not possible to do with symbolic links, it is possible to do with bind mounts, but would I'm wondering if there is some configuration in Docker to change the default location for each separate volume.</p>