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

Bash command not found #225

Open
mustafamasvi opened this issue Mar 5, 2020 · 5 comments
Open

Bash command not found #225

mustafamasvi opened this issue Mar 5, 2020 · 5 comments

Comments

@mustafamasvi
Copy link

mustafamasvi commented Mar 5, 2020

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.

@changeweb
Copy link
Owner

changeweb commented Mar 5, 2020

Before composer install try run php artisan key:generate

@mustafamasvi
Copy link
Author

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

@fazee6
Copy link

fazee6 commented Mar 9, 2020

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

@artimob
Copy link

artimob commented Mar 17, 2020

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.

@ozch
Copy link

ozch commented Mar 28, 2020

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

santoshray02 added a commit to santoshray02/Unifiedtransform that referenced this issue Sep 20, 2020
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

5 participants