Public Repository

Last pushed: 6 months ago
Short Description
Apache, PHP and Composer. Mods: Rewrite, Imagemagick, mcrypt, vim, iconv, gd, ssl, pdo, pdo_mysql
Full Description

Description

This image simply wraps some common apache settings i use very often.

Tags available

  • PHP 5.4
  • PHP 5.6

Apache Modules enabled

Rewrite, Imagemagick, mcrypt, vim, iconv, gd, ssl, pdo, pdo_mysql zip

Goodies

  • Composer installed at /usr/bin
  • curl
  • wget
  • GD
  • vim
  • git (sometimes i need to update some things without reinstalling the whole container again)
  • Imagemagick

Examples

run with ports, mapped directories

$ docker run --rm --name mycontainer -p 80:80 -p 443:443 -v /path/to/project:/var/www/html globaloxs/apache-php:5.4

run with ports, mapped directories and custom apache2.conf

$ docker run --rm --name mycontainer -p 80:80 -p 443:443 -v /path/to/project:/var/www/html -v /path/to/custom/apache2.conf:/etc/apache2/apache2.conf globaloxs/apache-php:5.4

run, ssh into shell and update composer

$ docker run -d --name mycontainer -p 80:80 -p 443:443 -v /path/to/project:/var/www/html globaloxs/apache-php:5.4
$ docker exec -it mycontainer bash
root@mycontainer# composer install
Docker Pull Command
Owner
globaloxs

Comments (0)