add upgrade intructions to README
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2019-10-02 17:01:10 -03:00
parent 10ba8bf0f1
commit 8e622c8e64

View File

@ -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) ## Upgrading
[![Docker Pulls](https://img.shields.io/docker/pulls/roundcube/roundcubemail.svg)](https://hub.docker.com/r/roundcube/roundcubemail/)
# 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: The simplest method is to run the official image: