Answer the question
In order to leave comments, you need to log in
How do you update a project in Docker?
What is the project update algorithm if it is launched via Docker. For example, I have a Django web application and after a while I added an additional. functions and I need to upload it to the server and run it so that the database remains the same and new functions are added
Answer the question
In order to leave comments, you need to log in
As far as I have seen from my experience, the folder where the database stores its data is mounted to the container from the host machine, so even after rebuilding the image and creating a new container, the data will not be lost
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question