Comments (3)
Hi,
if you remove the container (as in docker rm [id]
), the whole filesystem is destroyed. That means, any changes to the container are lost by definition. You can make your own version of the Dockerfile with an SQL script that sets up the database the way you want it.
Restarting the server shouldn't lose all database changes, but I don't know what is the cause here, sorry :(
from docker-xampp.
Hello!
When I restart my server or remove the container (via the docker rm myXampp), all database changes are lost. How do I save database changes to the server?
have you tried docker commit
to apply changes ?
from docker-xampp.
I'm closing this issue since it received no activity in a long time. Should this issue be up-to-date, feel free to re-open it. Thank you.
from docker-xampp.
Related Issues (20)
- Container not running for different Xampp HOT 2
- Error when mount Mysql data with docker-compose HOT 3
- Error mysql access denied even already setting up HOT 2
- XAMPP Control panel HOT 5
- Redis implementation HOT 2
- Expose the mysql database HOT 3
- Access port mysql HOT 5
- 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
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.