-
Notifications
You must be signed in to change notification settings - Fork 281
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
Running as root is not recommended. Use --allow-root to bypass. #94
Comments
@boldt I got mine running the same way.
But the container just dies after some time |
Im using Kali Linux, while I type Jupyter Notebook it showing How can I solve it. |
|
RUN THIS CODE jupyter notebook --allow-root |
When i try to open jupyter by terminal i get this "Running as root is not recommended. Use --allow-root to bypass" 1- sudo passwd root 2- (there are two password one for your computer user and the second one for enabling "root") 3- Enter new UNIX password (now here use a different password for your root login) (B) 2- ENTER YOUR NEW UNIX - THEN ENTER!! 3- Then write this code-> docker run -i -t -p 8888:8888 continuumio/anaconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser --allow-root" 4- ENTER!! After loading the whole page (can take few minutes) scroll down and see near at the bottom of the page you will get the link copy it and run it in any browser. Now you can open a NEW NOTEBOOK without any pro. |
Gracias |
#94 (comment) |
jupyter notebook --ip='*' --port=8888 --allow-root |
I know I should start jupyter notebook with "--allow-root", but I am using ssh to connect to the server in vscode. Is there any way to solve the problem in this kind of environment? |
If I start the Jupyter Notebook as described in the readme (docker container
continuumio/anaconda3 latest c357d1cc27c8
)...I get the following error and the container closesv:
Thus, I added
--allow-root
to the default command:EDIT:
The text was updated successfully, but these errors were encountered: