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
- Either you have installed Docker Manually (via yum or apt packages)
- Or during installation user/group did not set up properly.
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