Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not delete /var/www/html/. error #213

Open
ziat1988 opened this issue May 7, 2023 · 1 comment
Open

Could not delete /var/www/html/. error #213

ziat1988 opened this issue May 7, 2023 · 1 comment

Comments

@ziat1988
Copy link

ziat1988 commented May 7, 2023

When I try to create fresh project with docker compose run --rm composer create-project laravel/laravel . I get this error :

In Filesystem.php line 314:
                                     
  Could not delete /var/www/html/.:

I tried php.dockerfile then php.root.dockerfile but neither works.
How can I fix this?
Thanks

@LongTCH
Copy link

LongTCH commented Sep 5, 2023

Was you execute command from the root directory where docker-compose.yml locates? Or if you did make the src directory empty before run this command or not?. I suggest you stand at root directory and run this command docker exec -it docker-compose-laravel-php-1 sh to enter CLI of php service.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants