Drupal 7.x with SQLite on Nginx, with SSH access for drush
I'm just getting started with Drupal, so I wanted an easily movable and customizable container for installations.
Rather than depend on MySQL, this Docker config uses SQLite for the Drupal install. It's perfect for small, low-traffic installs and test environments.
In a clone of this repo:
docker build -t drupal .
This image exposes port 80 for web traffic and port 22 for optional SSH access.
To use:
docker run -d -p 80 -p 22 -t drupal
If you don't need SSH access (you usually do to upload libraries and reset premissions on settings.php), just omit -p 22