-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[BUG] - Persisting conda environments via Docker volume #1836
Comments
I don't recommend mounting Could you please tell me how you created your
|
Thank you @mathbunnyru for following up. Unfortunately, persisting conda environments is requirement from our users, unless there's another way for them to ensure their environments + kernels aren't wiped out every time we need to redeploy the infra on EC2 or do a reboot and restart the container The full command is this:
|
Please, answer my question about |
|
This is why I was asking how |
It's still not working even if you use a different local path Example:
But something like this, does work:
Same error:
Why is it looking for the jupyter command from within |
Once again, could you please answer these questions, I don't get it:
|
I think your host directory was created incorrectly:
and then I was able to run jupyter (mounting |
Thank you @mathbunnyru , Yes you're correct. I think the host directory was created incorrectly. Running your commands did the trick. Thank you for your help. |
What docker image(s) are you using?
datascience-notebook
OS system and architecture running docker image
centos7
What Docker command are you running?
docker run -p 80:8888 \ -e CHOWN_HOME_OPTS='-R' \ -e CHOWN_HOME='yes' \ -v /tmp/opt/conda:/opt/conda \ daqml-jupyter:latest
How to Reproduce the problem?
jupyter/datascience-notebook
entrypoint.sh
docker build . -t daqml-jupyter -f Dockerfile
tmp
directoryCommand output
Expected behavior
I expected the docker container to be running. Using a different volume, for example
/home/jovyan
seems to work fine - no issues there. It's just/opt/conda
that seems unsuccessful.Followed the instructions/tutorial here: https://ilperrozzi.medium.com/updating-packages-in-docker-containers-with-external-volumes-5923c23f664f
Actual behavior
The docker container does not start up. It fails and exits.
Anything else?
No response
The text was updated successfully, but these errors were encountered: