Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker issueG #7

Open
philemon09 opened this issue Jan 11, 2021 · 6 comments
Open

Docker issueG #7

philemon09 opened this issue Jan 11, 2021 · 6 comments

Comments

@philemon09
Copy link

Good morning,

I am encountering an issue with the docker way of running the notebooks.
Docker is well installed and I have successfully run the first command in the terminal. Then it seems that the second command is not accepted. Then when I try to enter the url on my browser the three links does not work.

best regards,

Philémon JUVANY

@benbovy
Copy link
Member

benbovy commented Jan 11, 2021

Hi Philémon,

Could you tell me which platform do you use? Could you also show me the output of the second command that you run in the terminal?

@philemon09
Copy link
Author

philemon09 commented Jan 11, 2021 via email

@benbovy
Copy link
Member

benbovy commented Jan 11, 2021

Could you try the following command? (i.e., the same than in README, but without line breaks) (don't forget to replace /path/to/local-notebook-folder by a valid path to your local working folder for the course):

docker run -it --name dragonstone -p 8888:8888 -v /path/to/local-notebook-folder:/home/jovyan/my-local-folder fastscape/s2s-future-dragonstone jupyter lab --ip 0.0.0.0

If your are using the Windows console, you could try ^ instead of \ as line breaks, i.e.,

docker run ^
    -it ^
    --name dragonstone ^
    -p 8888:8888 ^
    -v /path/to/local-notebook-folder:/home/jovyan/my-local-folder ^
    fastscape/s2s-future-dragonstone ^
    jupyter lab --ip 0.0.0.0

@benbovy
Copy link
Member

benbovy commented Jan 11, 2021

Note also that if you have special characters in your local path, you should probably wrap it in ", i.e.,

-v "/Users/Philémon Jean JUVANY/Documents":/home/jovyan/my-local-folder

@philemon09
Copy link
Author

philemon09 commented Jan 11, 2021 via email

@benbovy
Copy link
Member

benbovy commented Jan 11, 2021

Dear Benoit, attached to this email you will find the platform I am using

Unfortunately I can't see it (note that when you reply to a github issue by email attachments are ignored).

Please tell me if my suggestions in my previous comments solve your issue.

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

No branches or pull requests

2 participants