How To Upgrade NextCloud Deployed Through Docker Container

Upgrade NextCloud For Docker Container Deployment

Upgrade NextCloud For Docker Container Deployment


How to upgrade nextcloud deployed through docker container? Update the Nextcloud container by pulling the new image, discarding the old container, and starting the new container.

Since all data is stored in the volume, so nothing is lost. The startup script will check the version in the volume and the installed docker version. If a mismatch is found, the upgrade process will automatically start. Don’t forget to add all the volumes to the new container, so it will work as expected.

Follow the steps below to upgrade NextCloud:

  1. Execute the following command to pull the latest stable image

    docker pull nextcloud:stable
  2. Check the container name of nextcloud, in the last column NAMES, which will be used later

    docker ps | grep -i nextcloud
  3. Stop nextcloud

    docker stop <your_nextcloud_name>
  4. Remove the nextcloud container

    docker rm <your_nextcloud_name>
  5. Run nextcloud

    docker run -d <options> nextcloud

    Please note that you must run the same command with the options you used when you first started Nextcloud. This includes volume, port mapping.

0 0 votes
Article Rating
赞(0) 打赏
未经允许不得转载:iemblog » How To Upgrade NextCloud Deployed Through Docker Container
Notify of

Inline Feedbacks
View all comments
免责声明:本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除,若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理! Disclaimer: Most of the download resources on this site are collected on the Internet, and are only used for learning and communication. The copyright belongs to the original author. Please consciously delete within 24 hours after downloading. If you use it for commercial purposes, please purchase the original version. If the content posted on this site violates your rights, please contact us to delete it, and we will deal with it in time!

联系我们 Contact us




Would love your thoughts, please comment.x