Docker binds to Unix socket by default, normally the socket is owned by root user. When CyberPanel tries to access Docker API it receive permission issue. This happens in 2 case
To fix the issue, we can manually create docker group and add cyberpanel user to this group, use commands below to get around this issue
groupadd docker usermod -aG docker cyberpanel systemctl enable docker reboot