How to update a docker container to run latest code #1467
Answered
by
JanCizmar
adanielyan
asked this question in
Q&A
|
Hi, I have a deployment of tolgee in a docker container. I wonder what's the right way to update the version of tolgee within that container. Please help! |
Answered by
JanCizmar
Dec 21, 2022
Replies: 2 comments 10 replies
|
Hey, you have to remove the old container and run a new one with the new image version. You have to mount the volume from deleted container to the new one. |
0 replies
Answer selected by
adanielyan
|
Doing it removed all of my data including user accounts... Fortunately it was only test data, but I don't see how this can work in production. |
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, you have to remove the old container and run a new one with the new image version. You have to mount the volume from deleted container to the new one.