title: Cayley docker isn't writing data
body: <p>I'm using [or, trying to use] the docker cayley from here: <a href="https://github.com/saidimu/cayley-docker" rel="nofollow noreferrer">https://github.com/saidimu/cayley-docker</a></p>
  
  <p>I created a data dir at <code>/var/lib/apps/cayley/data</code> and dropped the .cfg file in there that I was instructed to make:</p>
  
  <pre><code>{
    "database": "myapp",
    "db_path": "/var/lib/apps/cayley/data",
    "listen_host": "0.0.0.0"
  }
  </code></pre>
  
  <p>I ran docker cayley with:</p>
  
  <pre><code>docker run -d -p 64210:64210 -v /var/lib/apps/cayley/data/:/data saidimu/cayley:v0.4.0
  </code></pre>
  
  <p>and it runs fine, I'm looking at it's UI in the browser:</p>
  
  <p><a href="https://i.stack.imgur.com/tdnlA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tdnlA.png" alt="enter image description here"></a></p>
  
  <p>And I add a triple or two, and I get success messages.</p>
  
  <p>Then I go to the query interface and try to list any vertices:</p>
  
  <pre><code>&gt; g.V
  </code></pre>
  
  <p>and there is nothing to be found (I think):</p>
  
  <pre><code>{
   "result": null
  }
  </code></pre>
  
  <p>and there is nothing written in the data directory I created.</p>
  
  <p>Any ideas why data isn't being written?</p>
  
  <p><strong>Edit:</strong> just to be sure there wasn't something wrong with my data directory, I ran the local volume mounted docker for <code>neo4j</code> on the same directory and it saved data correctly. So, that eliminates some possibilities.</p>