Terminal Access to a Xibo Docker Container

November 17, 2019 by steve

If you are running your own instance of Xibo via docker, sometimes you need to access the terminal for your web server or database. This can be done easily. 


First, we need to know the name of the docker container we want the bash terminal for. This can be done by running the following command on your docker server:

Docker ps 

Docker ps for xibo

Once we have copied the name of the container we wish to connect to, we can run the following command to get a bash terminal to the container:

docker exec -i -t CONTAINERNAME bash
(Ex docker exec -i -t xibo_cms-web bash)


Keep in mind that Xibo uses alpine Linux for its base OS. The docker image does not come with a text editor and one will have to be installed. This can be done by running the following command:

Apk add vim


If you don’t like vim you can install another text editor of your choice. For more information on the alpine package manger, follow this link.

In future posts, we will be talking about the useful things you can do with the information above.  If you don’t want to worry about this type of work or need help with your Xibo instance, check us out at mysignage.rocks.