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: