-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Dockerfile CMD contains unsupported flag --allow-root #1539
Comments
Thanks for the clarification. The bottom line is that if you pull docker image from the docker hub, i.e. https://hub.docker.com/r/jupyter/notebook/, it throws the above error. I'm currently using the docker-stack images, i.e. https://github.com/jupyter/docker-stacks, and, indeed, they work fine. |
I'm not exactly sure how docker hub works, but it sounds like you're getting a released version of the notebook code with the master version of the Dockerfile. Since they're in the same repo, they ought to be used in sync. I see on #1468 a suggestion about removing the Dockerfile from this repo entirely in favour of docker-stacks, though. |
The instructions in the github README still causes this error. How am I practically speaking intended to install this? |
@Baughn the docker bit in the README should have been removed; it's gone in #1603. The notebook can be installed with
If you want to build an image that includes a release of the notebook, start from one of the docker-stacks. |
The
jupyter/notebook
base Dockerfile contains line:which causes an error:
It seems that the flag has been removed from Jupyter, as removing the offending flag
--allow-root
fixes the issue and the Docker image seems to work fine.Cheers,
Jakub
The text was updated successfully, but these errors were encountered: