Ok, using docker for windows - and now?

Hi
as Alex told me strongly to use the docker Installation for 1.8.11 I tried this.
btw: I am a Windows user and have no idea of Linux.
I installed docker Toolbox (w7-PC) which went well after the third try. then I read the Manual for “Docker on Windows 64 bit, other than Windows 10” and I think I did all of the Topics.
This is my current Point of manual: “This will bootstrap and start your Xibo CMS”. ok, Installation seems to be ready, but nothing starts. the docker Container xibo_cms_web_1 says: Waiting for mysql to start - 300 sec. After this I get in my browser: Fatal Error - sorry this shouldn’t happen. SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again when I try to start the cms admin.
Now I dont know what to do.

Some installations of Docker on Windows have issues with the MySQL containers starting properly.

The resolution is as follows.

Down the existing containers (docker-compose down, adding -f as appropriate)
Delete the shared/db directory completely.

Edit the compose file you’re using and add

command: --innodb_use_native_aio=0

to the cms-db service definition.

Then bring the containers up per the guide.

thats it, xibo works on docker…

I did a little manipulation in Port forwarding of the VM.now it looks like this: ("…" means empty field)

Name Protokol Host-IP Host-Port Guest-IP Guest-Port
XMR TCP … 9505 … 9505
http TCP … 80 192.168.99.100 80
ssh TCP 127.0.0.0 49478 … 22

my intension was to get http://localhost running on the host (where virtual box runs) and to reach xibo whithin my netword at http://192.168.2.249 (ip of the host)

both items work, but please have a look on this to be on the right way.

The port forwarding rules look almost correct to me. You have the http rule bound to a guest IP, but you don’t need to do that.

They should be as show in the installation guide here:
https://xibo.org.uk/manual-tempel/en/install_docker_winother_64bit.html

ok, let us say, it works……

now I wonder About a backup and restore possibiity for my CMS, as one part of it is within the VM/Container and the other part is within the Windows file System.

How to do?

All your user content is inside the shared directory. That’s all you need to backup.

An automated daily backup is taken of the database and stored in shared/backup/db/latest.sql.gz

Nothing you need to backup is stored inside the container. You’d be wise to also backup your config.env and docker-compose *.yml files too for easier rollback, but it’s possible to restore without those.

thank you, i will test it