I figured out, that mariadb does not work if I have
at the end of the specific container config. Once I remove them, mariadb works.
But those lines are needed to avoid the Docker container "permission denied" start error.
Anyone knows how to make a LXC Debian 9 container work for docker and...