基于此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
下没有正确的写权限有关?