-
-
Notifications
You must be signed in to change notification settings - Fork 652
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
[Bug]: Drush isn't installed in any version #930
Comments
How are we supposed to install Drupal 9 without Drush? |
Afaik they switched to using composer instead: https://www.drupal.org/docs/develop/using-composer/manage-dependencies |
Drush will be completely removed from the Docker images as it is supposed to be part of each drupal project directoy. Drush itself also does not work outside a drupal directory, so having it installed globally is pointless. It should be installed via This will also make it persistent across restarts as it resides in the directory, which is mounted to the host system. |
It is still possible to install Drush globally. |
Have you already looked into this bug?
(Optional) Error message
No response
What went wrong?
On a fresh devilbox installation, Drush isn't installed on any version.
From documentation, it seems that Drush should be installed by default, but isn't true, and I'm not able to find any information on how install it.
Intalling it via composer (following Drush installation guide) it works fine until the container stopping: restarting it, Drush is gone...
Expected behaviour
Drush should be installed as default, or documentation should explain how to install it.
How can we reproduce the bug?
Install devilbox, and look on the localhost page: all of Drush versions are uninstalled.
Host Operating System
Windows
Host Platform (amd64, arm64, other)
amd64
(Linux only) Is SELinux enabled?
I don't know
Docker version
20.10.21
Docker Compose version
2.12.2
Devilbox version
2.2.0
Have you removed stopped containers before starting?
Yes
Have you pulled latest Docker images before starting?
Yes
Devilbox start command
docker-compose up php httpd mysql
Config: .env file
Config: docker-compose.override.yml
No response
Config: ./check-config.sh
Log: docker-compose logs
(Optional) Additional information
No response
The text was updated successfully, but these errors were encountered: