I need help with docker … I actually want to use docker but after fresh install of CyberPanel when I click docker it says docker is not installing and give me Button to install, so I click there to install docker from my CyberPanel Dashboard , but after installing its giving me warning that “” Unable to connect docker daemon, please try restarting docker from service page" but i tried that also from Service page but when I click Start nothing happened … i tried in both Centos 7 and Ubuntu VPS Server but same results, then I tried to restart docker using command # systemctl start docker from ssh but again getting another warning “Job for docker.service canceled.”
then this command also # systemctl status docker.service
Installed CyberPanel using Digital Ocean’s one-click installer. Docker won’t start because containerd won’t start. The containerd errors with:
Oct 23 17:36:55 cyberpanel systemd[7030]: containerd.service: Failed to adjust resource limit LimitNOFILE: Operation not permitted
Oct 23 17:36:55 cyberpanel systemd[7030]: containerd.service: Failed at step LIMITS spawning /sbin/modprobe: Operation not permitted
No, This is KVM and to inform you that I have tried Digitalocean , Vultr also but got the same problem every time with a fresh install of CyberPanel
I am wondering why nobody facing the issue Or they did not interested in Docker so they are not giving try installing docker so they don’t know that this is a problem.
Please change the entry in: /etc/systemd/system/multi-user.target.wants/docker.service
with: LimitNOFILE=1048576
on: LimitNOFILE=ulimit
Restart: systemctl restart docker.service
And check if it works.
Hi!
This problem also exists for me. Im just a new Digitalocean User, and I can not migrate my docker environment, since Docker on CyberPanel fails to launch.
This happens for docker-ce which comes with cyberpanel as well with manual tried docker-ee in both cases systems is reporting error:205/Limits.
The upper workaround from Nencio didn’t work for me.
In /etc/systemd/system/multi-user.target.wants/docker.service
there is no LimitNOFILE=1048576 nor LimitNOFILE=ulimit
its called LimitNOFILE=infinity.
However I have tried with both lines Nencio is menting, but the error message is not changing at all.
Of course I did systemctl restart docker.service after changing the systemd file.
Would be cool if someone finds and share a solution for this docker problem. I really like CyberPanel and would be a pain to look for an alternative backend, just to this minor error.
I did not want to work after installing CyberPanel and installing it by Docker.
I changed to such settings and it started working:
`[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.com
After=network.target
Wants=docker-storage-setup.service
Requires=docker-cleanup.timer