An Apache and PHP installation targeted to run a Drupal website with Drush.
95
An Apache and PHP installation targeted to run a Drupal website with Drush.
The website DOCROOT is located at /var/www/localhost/web and so the Drupal root should be place here. For security, place files like private files and keys outside of this DOCROOT (like /var/www/localhost).
To use Drush or SSH, you'll want to run the command /root/build.sh sshd this will setup the SSH server keys and configure the supervisor daemon to start the SSHD service. This is excluded from the image, so that random keys are generated for you install, instead of being built into the Docker image.
If you enable SSH, you can add a volume that places your public SSH keys into the /root/.ssh folder. All public keys in this folder will be added to the /root/.ssh/authorized_keys file on image startup.
Versions tagged with dev include display_error, xdebug and assert_exception settings turned on.
Full documention and source can be found here: https://bitbucket.org/tinkersmith/drupal-docker-image
Content type
Image
Digest
Size
35.7 MB
Last updated
about 9 years ago
docker pull tinkersmith/drupal:php7-dev