Public Repository

Last pushed: 18 days ago
Short Description
xampp-linux-x64-7.1.11-0
Full Description

Base image is ubuntu 14.04
XAMPP was installed from: https://www.apachefriends.org
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..

Run:

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 https://www.apachefriends.org/xampp-files/7.1.11/xampp-linux-x64-7.1.11-0-installer.run \
&& mv xampp-linux-x64-7.1.11-0-installer.run /opt/ \
&& cd /opt/ \
&& chmod +x xampp-linux-x64-7.1.11-0-installer.run \
&& printf 'y\n\y\n\r\n\y\n\r\n' | ./xampp-linux-x64-7.1.11-0-installer.run \
&& sed -i -e 's/Require local/Require all granted/g' /opt/lampp/etc/extra/httpd-xampp.conf \
&& cd /

CMD /opt/lampp/lampp start
EXPOSE 80

Docker Pull Command
Owner
paddypopeye