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

Notebook container not working #755

Closed
RemDelaporteMathurin opened this issue Mar 3, 2021 · 6 comments
Closed

Notebook container not working #755

RemDelaporteMathurin opened this issue Mar 3, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@RemDelaporteMathurin
Copy link

Step to reproduce
Run the following command
docker run -p 8888:8888 ukaea/paramak /bin/bash -c "jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser" --allow-root

Error message:

Unable to find image 'ukaea/paramak:latest' locally
latest: Pulling from ukaea/paramak
852e50cd189d: Already exists
a6236801494d: Already exists
679c171d6942: Already exists
1905567ded66: Pull complete
dc7eaf90d0c3: Pull complete
8cc47e9db86e: Pull complete
ad462465031a: Pull complete
695c60947ecd: Pull complete
4d04dc2200f5: Pull complete
d1b2873e4711: Pull complete
d1018ebba1d3: Pull complete
092b318373bc: Pull complete
5c15816cfa19: Pull complete
8a40e7d81fdf: Pull complete
56d500db08d2: Pull complete
9fce1e9a2ca3: Pull complete
aeda7b44c65b: Pull complete
3e06ef393692: Pull complete
2e2857408188: Pull complete
2676e1dd7dee: Pull complete
44055dd56d57: Pull complete
06dc4e669d34: Pull complete
68b4148f7f27: Pull complete
3b0c8058d21c: Pull complete
Digest: sha256:b2a6777f74c57df126e914a5bdabc3890bb449bebcd46de7d8e3c872d844c7c3
Status: Downloaded newer image for ukaea/paramak:latest
[C 08:55:28.878 NotebookApp] Bad config encountered during initialization: No such notebook dir: ''/opt/notebooks''
@shimwell
Copy link
Collaborator

shimwell commented Mar 3, 2021

perhaps duplicate of #749

@shimwell
Copy link
Collaborator

shimwell commented Mar 3, 2021

Perhaps try without the --notebook-dir=/opt/notebooks part

@RemDelaporteMathurin
Copy link
Author

This is the new command I ran:
docker run -p 8888:8888 ukaea/paramak /bin/bash -c "jupyter notebook --ip='*' --port=8888 --no-browser" --allow-root

and the new message error

[I 09:15:35.399 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 09:15:35.575 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[C 09:15:35.578 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.

The --allow-root flag must be placed in quotes. Running:
docker run -p 8888:8888 ukaea/paramak /bin/bash -c "jupyter notebook --ip='*' --port=8888 --no-browser --allow-root"

works.

However, the displaying of the solid attribute doesn't seem to work.

image

@shimwell
Copy link
Collaborator

shimwell commented Mar 3, 2021

oh yes the solid attribute needs a bit of work, I think something changed in the CQ2.1

We should look into adding this to the docker image https://github.com/bernhard-42/jupyter-cadquery

@shimwell
Copy link
Collaborator

shimwell commented Mar 3, 2021

this is being worked on in #756

@RemDelaporteMathurin RemDelaporteMathurin added the bug Something isn't working label Mar 5, 2021
@RemDelaporteMathurin
Copy link
Author

@shimwell maybe we can close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants