Docker Community Forums

Share and learn in the Docker community.

Nextcloud official image on Cyberpanel

Greeting Everyone,
first, I’m not sure if this is the correct section. (feel free to move).
I did install docker on cyberpanel using this guide.
I was getting several errors connecting the nextcloud (on the first login admin setup) to the (on host MariaDB)
then I managed to connect it with only one way: when pointing to host private IP: 172.17.0.1:3306
and disabling (if this is the correct term) iptables using:

iptables -P INPUT ACCEPT
iptables -F

now whenever I restart my host, I have to disable the iptables again so the nextcloud works.
And I have UFW installed and port 3306 is allowed

I’m brand new to docker and cyberpanel too, and of course i asked in cyberpanel. no responce.

any advice would be appreciated, Thanks in advance.

still can’t find a resolution. Any help please?