title: How to access docker volumes on a Synology NAS
body: <p>I am trying to get a Matrix Synapse server running on my Synology NAS through docker.</p>
  <p>When I run the <code>generate</code> command to get the intial homeserver.yaml, it does get generated :</p>
  <blockquote>
  <p>$ sudo docker run -it --rm     --mount type=volume,src=synapse-config,dst=/data     -e SYNAPSE_SERVER_NAME=my.matrix.host -e SYNAPSE_REPORT_STATS=yes matrixdotorg/synapse:latest generate</p>
  </blockquote>
  <pre><code>Creating log config /data/my.matrix.host.log.config
  Generating config file /data/homeserver.yaml
  Generating signing key file /data/my.matrix.host.signing.key
  A config file has been generated in '/data/homeserver.yaml' for server name 'my.matrix.host'. Please review this file and customise it to your needs.
  </code></pre>
  <p>So the file is generated in <code>/volume1/@docker/volumes/synapse-config/_data</code> but when I try to navigate there I get a permission denied error. I am ssh-ing using my <code>admin</code> account on the Synology.</p>
  <p>How can I access this file through ssh CLI or DSM web interface or something else ?</p>