Closed ManfredSchenk closed 2 years ago
It seems that you do not start with a fresh MariaDB. Please remove the container as well as the mounted folder and try again. In the directory of the docker-compose.yml file:
docker-compose stop opencms docker-compose rm -s mariadb rm -rf ~/dockermount/opencms-docker-mysql docker-compose up -d
same behaviour after removing container and folder...
This is a problem related to your virtual machine: "failed with ENOMEM". Closing this issue.
seems to be a common problem with latest mariadb images when running inside docker in a non-ubuntu environment. managed to start mariadb now by downgrading mariadb to 10.7.7-focal. But still timeout from opencms.
found the solution: when running docker from within debian, one has to use iptables-legacy instead of the default nftables. (see in https://dev.to/bowmanjd/install-docker-on-windows-wsl-without-docker-desktop-34m9 the paragraph concerning iptables)
Environment:
Problem: Operation timeout: database not accessible