Docker container aimed for Drupal development, using the Dockie Development Environment.
Pull dockie/drupal
from the Docker repository:
docker pull dockie/drupal
Or build dockie/drupal
from source:
git clone https://github.com/RobLoach/Dockie.git
cd Dockie
docker build -t dockie/drupal drupal
- Switch to the directory where Drupal is installed, or check it out:
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 8000:80 -p 2200:22 -v $(pwd):/var/www/html:rw dockie/drupal
- Visit
http://localhost:880
in your browser - Go through Drupal's install process, using
root:root
for MySQL permissions
This is in no means production, or even development-ready. Contributions are more than welcome.
Visit http://localhost:880
in your browser. Port: 80
.
Visit http://localhost:8000/phpmyadmin
in your browser.
The location of the web root.