Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with Docker installation on Linux

Tags:

linux

docker

rhel

I am trying to install Docker on RHEL whose version details are shown below

enter image description here

I have downloaded the rpm docker-ce-20.10.2-3.el7.x86_64.rpm from here. And I run the following install command

sudo yum install /home/projuser/usr/share/Docker/docker-ce-20.10.2-3.el7.x86_64.rpm

Error comes up suggesting that docker-ce-rootless-extras is required.

Error: Package: 3:docker-ce-20.10.2-3.el7.x86_64 (/docker-ce-20.10.2-3.el7.x86_64)
Requires: docker-ce-rootless-extras

Here is the full screenshot of error

enter image description here

As per the message I try to install docker-ce-rootless-extras-20.10.2-3.el7.x86_64.rpm that I downloaded from here using command shown below

sudo yum install /home/projuser/usr/share/Docker/docker-ce-rootless-extras-20.10.2-3.el7.x86_64.rpm

I get an error that suggests that docker-ce is required

Error: Package: docker-ce-rootless-extras-20.10.2-3.el7.x86_64 (/docker-ce-rootless-extras-20.10.2-3.el7.x86_64)
Requires: docker-ce

Here is the complete screenshot

enter image description here

So I am not sure how to resolve this dependency as docker-ce and docker-ce-rootless-extras are both not getting installed with dependency on each other. Please let me know if you need any other details.

Please help resolve this

like image 890
vigneshr35 Avatar asked Feb 21 '26 13:02

vigneshr35


1 Answers

Hope it not too late. You have to install both packages at the same time.

rpm -i docker-ce-XXXXX docker-ce-rootless-extras-XXXXX

This command is working for me.

like image 103
Nattanon Piamwilaikul Avatar answered Feb 24 '26 02:02

Nattanon Piamwilaikul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!