-
Notifications
You must be signed in to change notification settings - Fork 278
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
Failed to resolve ivy dependencies:/coursier_cache/.structure.lock (Permission denied) #140
Comments
It seems the dockerfile is somewhat buggy. Directory "/coursier_cache" is owned by user "root", so the active user "bootcamp" can't write into it properly. A quickfix as below works for me: FROM ucbbar/chisel-bootcamp:latest
RUN cp -r /coursier_cache /home/bootcamp/coursier_cache
ENV COURSIER_CACHE=/home/bootcamp/coursier_cache
USER bootcamp
WORKDIR /chisel-bootcamp
EXPOSE 8888
CMD jupyter notebook --no-browser --ip 0.0.0.0 --port 8888 Save the dockerfile and build it. Then you can run the new image just as the original one.
|
It's work for me ,thanks |
If you get this error from an already running docker you can do this (with a machine named docker exec --user root -it cool_knuth chown -R bootcamp:bootcamp /coursier_cache |
Your solution really work! |
local install follow the Local Installation using Docker - Linux/Mac/Windows
java -version :
how to slove this problem : ammonite.util.CompilationError: Failed to resolve ivy dependencies:/coursier_cache/.structure.lock (Permission denied)?
detail:
The text was updated successfully, but these errors were encountered: