macOS DDEV drush 命令权限被拒绝(实验性 docker 设置)
当我更新 ddev 版本 1.19.0 时,drush 命令不起作用。
$ ddev drush
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/mnt/ddev_config/.global_commands/web/drush": permission denied: unknown
Failed to run drush : exit status 126
所以,我必须使用命令 ddev exec drush 而不是 ddev drush
谁有任何想法?
When I updated ddev version 1.19.0 then drush command doesn't work.
$ ddev drush
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/mnt/ddev_config/.global_commands/web/drush": permission denied: unknown
Failed to run drush : exit status 126
So, I have to use command ddev exec drush instead of ddev drush
Who does have any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您没有过多介绍您的环境,但我想您在 macOS 上,安装了 Docker Desktop 4.6.0+,并且启用了实验性虚拟化和 VirtioFS 功能。请取消选中它们,它们还没有准备好迎接黄金时段。为了性能,我建议启用诱变剂,人们喜欢它,https:// /ddev.readthedocs.io/en/latest/users/performance/#using-mutagen
You don't say much about your environment, but I imagine you're on macOS and you installed Docker Desktop 4.6.0+ and you enabled the experimental virtualization and VirtioFS features. Please uncheck them, they're not ready for prime time. For performance, I recommend enabling mutagen, people love it, https://ddev.readthedocs.io/en/latest/users/performance/#using-mutagen