Docker image aimed for Drupal 8 development, using Docker Forge.
http://github.com/robloach/docker-drupal8
- Docker Forge
- Apache 2.4.7
- PHP 5.5.9
- MySQL 5.5.37
- phpMyAdmin 4.0.10
- Composer 1.0.0-alpha8
- Drush master
Pull robloach/drupal8
from the Docker repository:
docker pull robloach/docker-drupal8
Or build robloach/docker-drupal8
from source:
git clone https://github.com/RobLoach/docker-drupal8.git
docker build -t robloach/docker-drupal8 robloach/docker-drupal8
Switch to where Drupal is installed, or check it out directly:
git clone --branch 8.0.x http://git.drupal.org/project/drupal.git
cd drupal
Run the container, binding associated ports, and mounting the present working directory:
docker run -p 880:80 -p 222:22 -v $(pwd):/var/www/html:rw robloach/docker-drupal8
Visit http://localhost:880
in your browser, to allow Drupal to install using
root:root
for the MySQL permissions.
This is in no means production, or even development-ready. Contributions are more than welcome.
Service | Port | Usage |
---|---|---|
SSH | 22 | Connect with ssh root@localhost -p 422 with the password root |
Apache | 80 | Visit http://localhost:880 in your browser |
PHPMyAdmin | 80 | Visit http://localhost:880/phpmyadmin in your browser |
Volume | Description |
---|---|
/var/www/html |
The location of the web root. |