Docker无权限ls: cannot open directory .: Permission denied
背景在virtualbox中导入了docker镜像,利用该镜像启动容器之后发现通过ls等命令(root用户)查看本地文件时报错原因解决方案方案1docker run 添加参数–privileged=true其他方案待添加注:我在出现这种情况时,Dockerfile中指定的CMD(python脚本)运行之后会出现以下报错:Fatal Python error: initfsencoding: unable to load the file system codec...