diff --git a/documentation/installation/docker.md b/documentation/installation/docker.md index fe8ad1f161e04a9258d66367c985e51253ae3774..6f5583e9191dde12199099402cf31d04f4a37d0d 100644 --- a/documentation/installation/docker.md +++ b/documentation/installation/docker.md @@ -63,19 +63,19 @@ If you are using Docker bridge networking, you should configure your XMPP server To check the Spectrum 2 logs, use following Docker command: - $ docker logs spectrum + $ docker logs spectrum2 ## Stopping the Spectrum 2 To stop the Spectrum 2 container, use following Docker command: - $ docker stop spectrum + $ 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/spectrum - $ docker stop spectrum - $ docker rm spectrum + $ docker stop spectrum2 + $ docker rm spectrum2 $ docker run --name="spectrum" -d --restart unless-stopped -v /opt/spectrum2/configuration:/etc/spectrum2/transports -v /opt/spectrum2/data:/var/lib/spectrum2 spectrum2/spectrum