How to update a docker container to run latest code #1467
-
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! |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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.