Answer the question
In order to leave comments, you need to log in
How to install something under Docker root in Jupiter NoteBook image?
Hello! I'm running a docker container with the command:
sudo docker run -d -e GRANT_SUDO=yes -p 8888:8888 jupyter/base-notebook
sudo docker exec -it <имя_контейнера>
jupyter nbextension install --py jupyter_tabnine
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter'
. And if I write the same command through sudo, then I am asked for a password from the user jovyan , and I have no idea what the password is. Answer the question
In order to leave comments, you need to log in
GRANT_SUDO=yes
says that inside the container you can use sudo.
You can enter the container as a privileged user like this:
docker exec -u root -it <имя_контейнера> bash
But this is a security hole.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question