Cannot install Docker on version 2.0.2

Hello there,
I upgraded today and need to install Docker.
This is the error:

Last metadata expiration check: 1:53:13 ago on Fri Jul 24 03:24:19 2020.
No match for argument: docker-ce
Error: Unable to find a match: docker-ce
Failed to install Docker. [404]

Can someone help?

Thank you!

Hello, i was searching for the same issue.
And I found the solution for CyberPanel 2.3.5

Current Version: 2.3

Build: 5

Current Commit: 580d5754cd41dc836a0cea123699017e79a05c05

Latest Version: 2.3

Latest Build: 5

Latest Commit: 580d5754cd41dc836a0cea123699017e79a05c05

Solution in Almalinux 8.8 and Almalinux 8.9

Run these from SSH:
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin --allowerasing

Go back to your CyberPanel panel, press “docker” and click “Install”.
Then it should work.

Not sure why it doesn’t work in a clean almalinux 8.9 now @usmannasir

It does not even work on fresh install either ?

Correct, i installed Almalinux 8.9 fresh, twice, and it only worked after I did the commands later on.

OK, let me reproduce and fix it.

I was just checking code and this is how it is already: cyberpanel/dockerManager/dockerInstall.py at v2.3.5 · usmannasir/cyberpanel · GitHub

There was indeed a minor issue which i resolved now.

1 Like