Xibo Docker Update Guide For Windows

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,

  1. Stop the containers,
  2. Download the latest docker-compose.yml and overwrite old one.
  3. Start the containers. Everything come back with new version of CMS.

I believe this is covered here? - https://xibo.org.uk/manual/en/upgrade_docker.html

In any case, I’m glad you’re enjoying using Docker.

Also the one thing to keep in mind regarding Docker for Windows is this https://xibo.org.uk/manual/en/install_docker_win10_64bit.html#special_considerations
It could be helpful to have a task run on Windows startup with the stop/start commands, so you don’t need to do that manually after reboot.