I’m using the NextcloudPi docker container on Raspbian. Updating Nextcloud inside of the container is no issue, it works through the web UI, but I cannot find on how to properly update the container itself to get a new version of ncp.
Manual method would be to re-download and setup the docker container of the new version. If I understand docker correctly this should not lead to lost data, if the same start commad for the container is used (using the same volume as before). Is this correct?
Is there an automatic updating technique? I wouldn’t want to manually do it in an ideal production environment.
Edit: https://github.com/nextcloud/docker describes the update process as pulling the new container, removing the old one and starting the download one with identical parameters, as I have thought.
Are there any hints / warnings anyone wants to share about this process?
Thanks for your time!