Tensorflow on Docker: How to save the work on Jupyter notebook?
<p>Newbie to both Docker and Tensorflow and trying them out. Installation (on win10, using hyper-v driver) went fine and I can run </p>

<pre><code>docker run -p 8888:8888 -it gcr.io/tensorflow/tensorflow
</code></pre>

<p>and get output like this:</p>

<pre><code>[I 23:01:01.188 NotebookApp]←(B Serving notebooks from local directory: /notebooks
[I 23:01:01.189 NotebookApp]←(B 0 active kernels
[I 23:01:01.189 NotebookApp]←(B The Jupyter Notebook is running at: http://[all ip addresses on your system]:8888/
[I 23:01:01.189 NotebookApp]←(B Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
</code></pre>

<p>and I can open Jupyter notebook from browser by opening [docker host address]:8888.</p>

<p>However, after doing some work (e.g., creating a new notebook), when I stop the server by Ctrl-C twice, all new work are lost. Maybe I'm missing something basic, so let me put what I'm not sure here:</p>

<ol>
<li>Am I supposed not to stop the server?</li>
<li>I'm using the same "docker run" command when I restart. Is that correct?</li>
</ol>

<p>Thanks for your help.</p>