Hi,
I am running media wiki in a docker environment (mediawiki + mariadb + memcached in docker-compose) for over two years without any troubles.
I do run regular updates (at least once a month) of the docker stack (using "docker-compose pull" followed by docker-compose up -d --remove-orphans & docker image prune ).
In the docker-compose I do reference the following images: mediawiki:stable, mariadb:latest as well as memcached:alpine.
If I update the mediawiki image from version 1.40.2 where everything is working fine to 1.41.0 (=stable) to database gets corrupted or deleted. I do not get any content if I call the Wiki start page. This page is missing - please create it.
I have reproduced this several times. I also did split the update process so that only the mediawiki image get's updated. Memcache as well as database stays untouched. But same effect: a complete data loss. Good to have a full backup of the container and its data.
Any help is welcome. Let me know if you do need more information.
Cheers
Fritz