Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Can't save any files #213

Open
rtwk opened this issue Feb 3, 2016 · 4 comments
Open

Can't save any files #213

rtwk opened this issue Feb 3, 2016 · 4 comments

Comments

@rtwk
Copy link

rtwk commented Feb 3, 2016

Running tmpnb locally. Can access via browser from a local server. But the problem is, since everything I do on it is temporary, nothing is saved. I want to achieve something lie try.jupyter, where certain files are saved and can not be deleted, users though can make changes, which are temporary.

@rtwk rtwk changed the title How to save certain files in read only Can't save any files Feb 3, 2016
@captainsafia
Copy link
Member

Hello @rtwk! Thanks for posting this question. I'll try my best to answer it.

tmpnb is designed to host temporary Notebooks that aren't saved to disk at all. try.jupyter.org is a demo application that utilizes tmpnb.

In the Docker image used for the demo page, you'll note that several Notebook files are loaded into the Docker image as seen in the Dockerfile.

Locally, tmpnb utilizes the jupyter/minimal-notebook Docker image which does not load up any Notebooks in the Docker image.

I'm assuming that you would like to create a Docker image where a certain set of Notebooks are loaded everytime you start tmpnb. In order to do this, you will need to create your own Docker file based on the minimal-notebook image that copies or pulls the relevant Notebooks. If this is what you are trying to achieve, I'm happy to work through it with you.

Let me know if my response made sense. Happy to make any clarifications or explain further.

@rtwk
Copy link
Author

rtwk commented Feb 3, 2016

That is what I was looking for. This guides me to the right direction. Let me work on it and I will let you know if find an issue. Thanks a ton.

@rtwk
Copy link
Author

rtwk commented Feb 3, 2016

For my own version (of Dockerfile) shall I replace username with one in my machine? Or shall need to continue with the given one? If I change username, some of the paths are also changed. Shall I replace those with my own?

@rgbkrk
Copy link
Member

rgbkrk commented Feb 3, 2016

tmpnb provides new containers for each visitor. The username in the container is there so you're not running everyone as root by default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants