-
Notifications
You must be signed in to change notification settings - Fork 282
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 command for running container doesn't work #163
Comments
Please add the exception or error message. For me it's a duplicate issue, see #94 and #85. You can find the mentioned command on several pages, e.g.:
Running processes as root in a docker container isn't best practice, but it's indeed a design decicion. In addition the package |
Hi there. https://hub.docker.com/r/continuumio/anaconda3 I think @Dave3991 and I just followed these docs. I meant we copied and pasted commands. And then failed to run container. command I used and error message below.
|
Hi, command in readme for running at localhost doesn't work for me.
Old command:
docker run -i -t -p 8888:8888 continuumio/anaconda3 conda "install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=8888 --no-browser"
I fixed it with this:
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='0.0.0.0' --port=8888 --no-browser --allow-root"
The text was updated successfully, but these errors were encountered: