Docker Image for XAMPP Updated to latest 7.2.12

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Docker Image for XAMPP Updated to latest 7.2.12

Postby cswl1337 » 29. November 2018 06:12

Hello.. I didnt know my docker image https://hub.docker.com/r/cswl/xampp/
Has been pulled 150+ times..

So I updated it to latest Ubuntu 18.04 and XAMPP Linux 7.2.12
And updated Instructions too

Code: Select all
xampp-docker
Docker image containg Ubuntu 18.04 and the latest XAMPP 7.2.12.

Note: This image was built for development purposes.

Getting the image:
The image has been pushed to Dockerhub
So you can just:

docker pull cswl/xampp
Running the image:
For convience, an startup script is provided.
Download

xampp-docker
    without arguments will launch xampp-docker and drop a bash shell

xampp-docker stop
    stops the running docker container

xampp-docker commands
    run a one-off command in specified Docker container


This image uses /www directory for your page files, so you need to specify the volume mount it.
Your webpage will be served at: http://localhost:8086/www
And to open up the XAMPP interface: http://localhost:8086/
The MySQL port is also exposed at at mysql://localhost:3086

All the XAMPP services are started by default.
To startup a bash shell. Just run the startup script without arguments.

Configuration
Edit the startup script if you want to give the container a different name.
You can directly modify httpd and other stuffs from container.
cswl1337
 
Posts: 4
Joined: 08. March 2018 13:53
XAMPP version: 7
Operating System: Linux

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 13 guests