成功使 WSL2 与 Docker Desktop (v3.1.0) 一起工作后
NAME STATE VERSION
* Ubuntu-20.04 Running 2
docker-desktop Running 2
docker-desktop-data Running 2
我按照 Laravel 文档中的步骤操作:https ://laravel.com/docs/8.x#getting-started-on-windows但错误:
[ErrorException]
file_get_contents(): Read of 8192 bytes failed with errno=13 Permission denied
出现了,运行后我也找不到docker-compose.yml
目录中的文件./vendor/bin/sail up
:
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml