A list of Docker containers running several popular Drupal 8.x and 7.x distributions within LAMP stack.
Go to distros.bid.
See the docker tags at hub.docker.com/r/drupal8/distros/tags.
Software | Version |
---|---|
adminer | 4.3.1 |
apache2 | 2.4.18 |
composer | 1.5.2 |
curl | 7.47.0 |
drush | 8.1.15 |
git | 2.7.4 |
mysql | 5.7.20 |
php | 7.0 |
vi | 7.4 |
wget | 1.17.1 |
Each Drupal distribution refers to a specific docker image tag. Currently only 1 version is supported for each distribution and there no version specific tags (eg there is "drupal" but not "drupal-8.4.2" tag). Notice that most images are of 1 - 2GB size so be patient while pulling.
# Let's try lightning distribution
docker run -d -p 8066:80 --name lightning drupal8/distros:lightning
Open Drupal user login page at http://localhost:8066/user/login
- User: admin
- Pass: admin
Open Adminer page at http://localhost:8066/adminer.php
- DB username: drupal
- DB name: drupal
- DB password: drupal
Open Terminal emulator at http://localhost:8066/terminal.php
- User: www-data
- Password: password
Notice that www-data user has only access to the web folder and no sudo exists.