Public Repository

Last pushed: 18 days ago
Short Description
Full Description

Base image is ubuntu 14.04
XAMPP was installed from:
Web Ineterface is available, if 'localhost' is used, will redirect to 'localhost/xampp' which does not exist ..change the url to 'localhost/dashboard' all works fine..


As the lampp process does not run in the foreground(and could not figure out how to). First command will keep the container running in the backround, the second will start Apache, Mysql, proFtp servers. Webinterface can then be accessed from host via 'localhost:<yourport>/dashboard'

sudo docker run -p <your port>:80 -t -i -d xampp-stack tail -f /dev/null
sudo docker exec <container_id> /opt/lampp/lampp start

Dockerfile used:
FROM ubuntu:14.04

RUN apt-get update \
&& apt-get install wget -yq \
&& wget \
&& mv /opt/ \
&& cd /opt/ \
&& chmod +x \
&& printf 'y\n\y\n\r\n\y\n\r\n' | ./ \
&& sed -i -e 's/Require local/Require all granted/g' /opt/lampp/etc/extra/httpd-xampp.conf \
&& cd /

CMD /opt/lampp/lampp start

Docker Pull Command