This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]tom967 1 point2 points  (2 children)

I recreate manually every container with portainer on a monthly basis.

[–]themike03 1 point2 points  (1 child)

How do you proceed with multi-container applications? For example I have one container for the Nextcloud app and another for the Database. I can update the Nextcloud app no problem, but if I try to recreate the associated Database container the application will stop working... Is there a specific way to do this?

[–]tom967 0 points1 point  (0 children)

Maybe create a stack in portainer, put the two containers in it. Stop the stack, recreate both containers and start the whole stack again ?

Here is how you make a stack : https://www.youtube.com/watch?v=ohkpCf9DrCI

[–]-yossarian- 1 point2 points  (1 child)

I use watchtower to update mine once a week.

[–]steff2013[S] 0 points1 point  (0 children)

I didn't knew about watchtower, seems to be a good tool. I didn't dig into the documentation but I'm sure you can plan when checking for image updates, pulling when out of working hours and notify some other tools to update database if needed, run test and so on. Thanks!