DOCKER XIBO IMAGE UPDATE
Thanks to Xibo for Xibo for Docker technique, it saved lots of time effort.
It is very easy to use preconfigured images, so you can install the CMS all within 3 minutes.
I want to share my experience to update the docker image for helping people who is not experienced within Docker and server things.
THE GUIDE
Download The Latest CMS from xibo.org (https://www.xibo.org.uk/api/downloads/cms)
The important file is: docker-compose.yml, overwrite the file to your old docker-compose.yml file in the folder which have docker images, and configuration file (config.env and shared folder)
Open command prompt in the folder
docker-compose down (to stop all containers) You can also use the Kitematic app.
docker-compose up
What happens while up…
While it tries to up the containers;
- it checks the docker-compose.yml file to understand which image files will be use,
- If images not exist downloads the docker images from internet,
- While xibo xms starts it looks for config.env and shared folder in the same folder.
- If xibo finds the files and folder understands its an update, and use old backup and return all data back .
As a summary,
- Stop the containers,
- Download the latest docker-compose.yml and overwrite old one.
- Start the containers. Everything come back with new version of CMS.