为安全文件指定权限路径或权限分配失败....'获得'0o655'而不是'0o0600'

时间:2020-05-14 01:05:24

标签: windows docker jupyter-notebook docker-volume

基于此article在Jupyter Notebook中运行Docker容器,我必须执行以下命令

const previousKpis = await previousKpis

会引发以下错误

docker run -it  -m 8g -e GRANT_SUDO=yes --user root --rm -p 8888:8888 -p 4040:4040 -v C:/Users/user_name:/home/jovyan jupyter/datascience-notebook

如果您将容器的装入卷指定为Permissions assignment failed for secure file: '/home/jovyan/.local/share/jupyter/runtime/kernel-a3592305-5a0e-4cb9-b5ef-3ef74d969538.json'. Got '0o655' instead of '0o0600'. 而不是/Users/user_name,则可能会遇到此问题。这是否与在C:/Users/user_name下没有正确的写权限有关?

0 个答案:

没有答案
相关问题