From 76ec6e20ea6a8f2515366c2708d86447b0855ea1 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Sun, 20 Dec 2015 11:11:31 +0100 Subject: [PATCH] Describe how to upgrade Docker image --- documentation/installation/docker.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/documentation/installation/docker.md b/documentation/installation/docker.md index 4e64c1e9..223a1097 100644 --- a/documentation/installation/docker.md +++ b/documentation/installation/docker.md @@ -3,6 +3,16 @@ layout: page title: Spectrum 2 --- +## About our Docker image + +The Docker image is based on latest stable Fedora. It includes Spectrum 2 and also lot of 3rd-party backends you would have to compile or install yourself when not using Docker image. This includes: + +* Facebook (purple-facebook plugin) +* Whatsapp (transwhat backend) +* IRC (libcommuni backend) +* Skype (purple-skypeweb plugin) +* libpurple backend + ## Install Docker At first you have to install Docker. This is very well described on the official [Docker Installation page](https://docs.docker.com/v1.8/installation/). @@ -57,3 +67,12 @@ To check the Spectrum 2 logs, use following Docker command: To stop the Spectrum 2 container, use following Docker command: $ docker stop spectrum2 + +## Upgrading the Spectrum 2 container + +To upgrade Spectrum 2 container, you at first have to pull the updated Docker image, stop the current container, remove it and start it again using the new version of Docker image. It is very important to have all the Spectrum 2 data stored in the host system as described earlier in this document. Otherwise you won't be able to upgrade running container without loosing the data. + + $ docker pull spectrum2/spectrum2 + $ docker stop spectrum2 + $ docker rm spectrum2 + $ docker run --name="spectrum2" -d -v /opt/spectrum2/configuration:/etc/spectrum2/transports -v /opt/spectrum2/data:/var/lib/spectrum2 spectrum2/spectrum2