@JJ-Fullmer Dear Fullmer, thanks in advance for your intervention.
Unfortunatly in the machine that run my fog container there is another mysql database listen on port 3306.
This is not a problem, i just semi-resolved creating a non-privileged/shared network host mysql container with no exposed port -> place fog container and this database container in a same network (they can ping each other with fqdn) and i’ve just modified the /opt/fog/.fogsettings with your suggestion in the past, but the solution doesnt work:
The installation goes fine, but the result is a blank http page that it say: database error. (something like that).
I think (but is only supposition, im not absolutly a developer) that there is written php scripts that must to be point to a localhost database (something in /var/www/html/fog/*).
This problem is born because the fog container must be in privileged mode, with the same network namespace as the host, and in this host there is another database already.
Thanks for confirm me the inevitable death of the container version of fog. it really hard to containerize this application without setting privileged mode and/or share the host network. and the huge problem of systemd processes make this containerizzation very difficulty to maintain.
Thanks for the patience