I have a containerized Laravel app. All my containers are running. When I run the command docker-compose exec app php artisan tinker
, I get the error
ErrorException
Writing to directory /home/darula/.config/psysh is not allowed.
Other artisan commands like docker compose exec app php artisan migrate
work just fine.
I tried to change the ownership of the directory to the current owner. Also tried to change the permissions of the .config directory to 755
. When I run php artisan tinker
without the docker-compose
, the command runs just file. Also when I run the php artisan tinker
in a non containerized app, it works just fine.
Anything I need to do in order to run tinker on a containerized app?