I just started using Laravel Sail (v1.4.7) and if I run this:
sail up -d
Then all container started.
Then I try run this:
sail composer dump-autoload
And the response is:
projectname- docker- Exit 1
Shutting down old Sail processes...
Sail is not running.
You may Sail using the following commands: './vendor/bin/sail up' or './vendor/bin/sail up -d'
I tried to run composer dump-autoload
without sail, and it's working fine. But this isn't run inside the container (so maybe it'll run on different versions in the future).
UPDATE:
I run my containers in WSL2, Ubuntu 20.04.
Why shutting down containers at this point? But actually not just this command occurs shut down. Every sail ...
command occurs the same.
Any idea?