Unifiedtransform icon indicating copy to clipboard operation
Unifiedtransform copied to clipboard

Bash command not found

Open mustafamasvi opened this issue 5 years ago • 5 comments

Trying to get into the Nginx container using sudo docker exec -it <container id> bash Error: Bash not found. Googled and /bin/sh seem to work, but then it could not find the composer

I tried getting into the digitalOcean.php container and there I could find composer and continued with the rest of the steps.

When I open the website it throws the following error No application encryption key has been specified.

mustafamasvi avatar Mar 05 '20 07:03 mustafamasvi

Before composer install try run php artisan key:generate

changeweb avatar Mar 05 '20 13:03 changeweb

Inside the nginx container it says php not found. Just confirming, I should give the container id of webserver right?

mustafamasvi avatar Mar 06 '20 07:03 mustafamasvi

I am in the same boat waiting for someone to post the solution. Thanks

fazee6 avatar Mar 09 '20 09:03 fazee6

I am in the same boat waiting for someone to post the solution. Thanks

make sure you use "sudo docker exec -it ./bin/sh". If its Windows, make sure you run console (CMD or PowerShell) session using Admin.

artimob avatar Mar 17 '20 00:03 artimob

okay bash into digitalocean/php container instead of Nginx container @changeweb please update the README

ozch avatar Mar 28 '20 19:03 ozch