A
A
Alexander Kovalenko2022-01-05 04:03:32
Docker
Alexander Kovalenko, 2022-01-05 04:03:32

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

1 answer(s)
P
Pavel Shvedov, 2022-01-05
@mmmaaak

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 question

Ask a Question

731 491 924 answers to any question