Comments (5)
Hi,
I'm glad you like the container :)
Here's the example command from readme:
docker run --name myXampp -p 41061:22 -p 41062:80 -d -v ~/my_web_pages:/www tomsik68/xampp
You can easily adapt it to expose MySQL database. The server is running on standard port 3306
in the container. You might want to set it to different port - in this example, it is 41063
.
docker run --name myXampp -p 41061:22 -p 41062:80 -p 41063:3306 -d -v ~/my_web_pages:/www tomsik68/xampp
. Once you have that running, you should be able to connect to database at localhost
using port 41063
.
from docker-xampp.
Thank you, its working well now :)
from docker-xampp.
Is it possible to copy my web content inside the container? I would like to make a cloud site with Azure and Docker. Thank you
from docker-xampp.
If you included -p 41061:22
in the docker run command, the most straightforward solution would be to login as root
(password root
) via ssh at port 41061
and copy your files to container's /www
folder.
I don't know much about Azure, so they might offer something like SSH or FTP to the machine, which might be useful, too.
from docker-xampp.
Thank you, its working now :)
from docker-xampp.
Related Issues (20)
- How can I access /www of the container proFTPd ? HOT 2
- Happy work next version with these features as these years work practice HOT 1
- docker-compose.yml sample file
- Update to the latest XAMPP versions HOT 1
- [Question] Setting up DVWA on docker-xampp HOT 1
- how to install "ixed.8.1.lin" loader from the SourceGuardian site HOT 2
- Unknown command or add-on HOT 2
- How do I install a PHP module like IMAGICK? HOT 2
- I want to mount my php folder so i can open the page on it. HOT 13
- It does not copy the source files from the directory to the /www being mounted HOT 7
- Separate mysql socket of mysql data HOT 1
- XAMPP running as `daemon` user instead of `www-data` HOT 2
- Mount existing db to container HOT 2
- Mysql is not starting HOT 7
- disable mysql? HOT 2
- Add 8.3.6 HOT 2
- cant remap ports to container HOT 4
- denied HOT 1
- Path Problem HOT 3
- Install xdebug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-xampp.