问题描述 我使用 root 账号在 docker 环境中执行 bat 文件,提示没有权限问题。 解决方法 因为我使用的是 root 账号,直接给 bat 文件赋权限就行。直接执行下面语句 chmod 777 *.bat