Laravel No Existing Directory at "storage/logs"

Seems that your APP_LOG_FILE in the config references the logfile path for your host machine (i.e. /Users/user/projects/laravel/application/storage/logs) and set as absolute path, but inside your containter the path is different and in fact is /var/www/html/application/storage/logs. Can you change it in the .env and try again?


Try this command,

php artisan optimize:clear

If php artisan gives error then execute,

composer update

You need execute php artisan config:cache command in container folder instead of your OS folder.
Enter in your php container:
docker exec -it your-php-container /bin/bash
go to laravel project folder and configure cache:
php artisan config:cache