cswl / xampp-docker Goto Github PK
View Code? Open in Web Editor NEWDocker image containing Ubuntu 17.10 and the latest XAMPP 7.2.3
License: GNU General Public License v3.0
Docker image containing Ubuntu 17.10 and the latest XAMPP 7.2.3
License: GNU General Public License v3.0
Hi,
I am new to Docker
, sorry if this is a stupid question. Is it possible to map the current working directory as the htdocs directory in the container?
Also may be having a mySQL folder where the database is stored. That way many projects can be launched using this image.
Hey @cswl I am setting up xampp on docker for the first time, and I am trying to run and simple index.php file using xampp server(after that I'll try to run whole project on this).
I created a dockerfile and pasted this in that,
FROM cswl/xampp:latest
COPY . /usr/share/lamptest/www
and then ran two commands which are,
docker build -t webserver-image:v1 .
docker run -d -p 80:80 webserver-image:v1
I am not able to see the output of xammp interface on http://localhost:8086/ as mentioned in README.
I even tried with netstat
command but its also giving no port up,
root@eeb7b0f5f7fa:/# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
Can you help me how to set this up? I've tried with exposing ports, but it's still not working. I think I am confused with /www part you mentioned in README.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.