From 8e622c8e6462fafc7c0ac45f1e19704a4b2c1e14 Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Wed, 2 Oct 2019 17:01:10 -0300 Subject: [PATCH] add upgrade intructions to README --- README.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f44d896..a07fa28 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,28 @@ +# Roundcube in a Docker Container -[![Build Status](https://travis-ci.org/roundcube/roundcubemail-docker.svg)](https://travis-ci.org/roundcube/roundcubemail-docker) -[![Docker Pulls](https://img.shields.io/docker/pulls/roundcube/roundcubemail.svg)](https://hub.docker.com/r/roundcube/roundcubemail/) +## Upgrading -# Running Roundcube in a Docker Container +1. Remove current container: + + ``` + docker rm -f roundcube + ``` + +2. Re-create container with new version tag and the same volumes. + +3. Execute inside container: + + ``` + docker exec -ti roundcube bash + # ... now inside container ... + apt-get update && apt-get -y install rsync + cd /usr/src/roundcubemail + bin/installto.sh /var/www/html/ + ``` + +4. Done! + +## Running The simplest method is to run the official image: