Public Repository

Last pushed: 2 years ago
Short Description
Ubuntu 14.04.02 LTS with lighttpd 1.4.33, php 5.5.9 and other modules.
Full Description

Ubuntu 14.04.02 LTS with lighttpd 1.4.33 and php 5.5.9
Modules installed.

htop
lighttpd
curl
vim
php5-cgi php5-mysql
lighttpd-enable-mod fastcgi
lighttpd-enable-mod fastcgi-php
service lighttpd force-reload
php5-cli
php5-curl
php5-gd
php5-mysql
php5-apcu
php5-imagick
php5-mcrypt
php-pear php5-dev make libpcre3-dev
uuid-dev
pecl install uuid

Recommended usage when running the container.
docker run -p 80:80 -v /shared/var/www:/var/www -v /shared/var/cache/lighttpd:/var/cache/lighttpd -v /shared/var/log/lighttpd/:/var/log/lighttpd/ -v /shared/etc/lighttpd:/etc/lighttpd -v /home/edward/alm:/home/edward/alm -d edwardjrp/ubuntu-lighttpd-php5:v2 /run.sh

This will daemonize the container expose port 80 for the main host and mount relevant config folders from a folder (in this case /shared folder on the host). This way configurations for lighttpd and for apps published on /var/www are dynamic and dont need to restart the container. The run.sh script is just a simple bash script which fires up lighttpd as a daemon with its /etc/lighttpd/lighttpd.conf file.

It is important to have the appropriate folder permissions on the shared folders and they must match those used on the container. In this case user and group for the shared folders of lighttpd should be www-data:www-data or the user you configured lighttpd to launch with to avoid permissions issues when running the container.

Docker Pull Command
Owner
edwardjrp

Comments (0)