# Error Installing Docker on Centos7

**URL:** <https://forums.docker.com/t/error-installing-docker-on-centos7/115649>\
**Category:** General\
**Created:** [September 24, 2021, 7:01pm UTC](https://forums.docker.com/t/error-installing-docker-on-centos7/115649 "2021-09-24T19:01:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nithinbharadwaj](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nithinbharadwaj](https://forums.docker.com/u/nithinbharadwaj)\
**Post date:** [September 24, 2021, 7:01pm UTC](https://forums.docker.com/t/error-installing-docker-on-centos7/115649/1 "2021-09-24T19:01:35Z")

</div>

We are trying to install docker on Centos 7.9.2009(core) with Kernel version 3.10

I am following the steps mentioned in [CentOS | Docker Docs](https://docs.docker.com/engine/install/centos/)

I am trying to install using the method **Install from a package**

Downloaded the following .rpm files inside a specific folder from the url [Index of linux/centos/7/x86\_64/stable/Packages/](https://download.docker.com/linux/centos/7/x86_64/stable/Packages/)

containerd.io-1.4.9-3.1.el7.x86\_64.rpm  
docker-ce-20.10.8-3.el7.x86\_64.rpm  
docker-ce-cli-20.10.8-3.el7.x86\_64.rpm  
docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm  
docker-scan-plugin-0.8.0-3.el7.x86\_64.rpm

I was able to successfully install containerd.io-1.4.9-3.1.el7.x86\_64.rpm.

But when i am trying to install any of the remaining package i am getting the following error

**yum install docker-ce-20.10.8-3.el7.x86\_64.rpm**

Failed to set locale, defaulting to C  
Loaded plugins: fastestmirror, rhnplugin, versionlock  
This system is receiving updates from Spacewalk server.  
Examining docker-ce-20.10.8-3.el7.x86\_64.rpm: 3:docker-ce-20.10.8-3.el7.x86\_64  
Marking docker-ce-20.10.8-3.el7.x86\_64.rpm to be installed  
Resolving Dependencies  
 → Running transaction check  
—\> Package docker-ce.x86\_64 3:20.10.8-3.el7 will be installed  
 → Processing Dependency: docker-ce-cli for package: 3:docker-ce-20.10.8-3.el7.x86\_64  
Loading mirror speeds from cached hostfile  
 → Processing Dependency: docker-ce-rootless-extras for package: 3:docker-ce-20.10.8-3.el7.x86\_64  
 → Finished Dependency Resolution  
Error: Package: 3:docker-ce-20.10.8-3.el7.x86\_64 (/docker-ce-20.10.8-3.el7.x86\_64)  
Requires: docker-ce-rootless-extras  
Error: Package: 3:docker-ce-20.10.8-3.el7.x86\_64 (/docker-ce-20.10.8-3.el7.x86\_64)  
Requires: docker-ce-cli  
You could try using --skip-broken to work around the problem  
You could try running: rpm -Va --nofiles --nodigest

**yum install docker-scan-plugin-0.8.0-3.el7.x86\_64.rpm**

Failed to set locale, defaulting to C

Loaded plugins: fastestmirror, rhnplugin, versionlock

This system is receiving updates from Spacewalk server.

Examining docker-scan-plugin-0.8.0-3.el7.x86\_64.rpm: docker-scan-plugin-0.8.0-3.el7.x86\_64

Marking docker-scan-plugin-0.8.0-3.el7.x86\_64.rpm to be installed

Resolving Dependencies

→ Running transaction check

—\> Package docker-scan-plugin.x86\_64 0:0.8.0-3.el7 will be installed

→ Processing Dependency: docker-ce-cli for package: docker-scan-plugin-0.8.0-3.el7.x86\_64

Loading mirror speeds from cached hostfile

→ Finished Dependency Resolution

Error: Package: docker-scan-plugin-0.8.0-3.el7.x86\_64 (/docker-scan-plugin-0.8.0-3.el7.x86\_64)

Requires: docker-ce-cli

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

**yum install docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm**

Failed to set locale, defaulting to C  
Loaded plugins: fastestmirror, rhnplugin, versionlock  
This system is receiving updates from Spacewalk server.  
Examining docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64  
Marking docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm to be installed  
Resolving Dependencies  
 → Running transaction check  
—\> Package docker-ce-rootless-extras.x86\_64 0:20.10.8-3.el7 will be installed  
 → Processing Dependency: fuse-overlayfs \>= 0.7 for package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64  
Loading mirror speeds from cached hostfile  
 → Processing Dependency: slirp4netns \>= 0.4 for package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64  
 → Processing Dependency: docker-ce for package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64  
 → Finished Dependency Resolution  
Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64 (/docker-ce-rootless-extras-20.10.8-3.el7.x86\_64)  
Requires: slirp4netns \>= 0.4  
Available: slirp4netns-0.3.0-1.el7.x86\_64 (centos7\_os)  
slirp4netns = 0.3.0-1.el7  
Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64 (/docker-ce-rootless-extras-20.10.8-3.el7.x86\_64)  
Requires: docker-ce  
Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64 (/docker-ce-rootless-extras-20.10.8-3.el7.x86\_64)  
Requires: fuse-overlayfs \>= 0.7  
You could try using --skip-broken to work around the problem  
You could try running: rpm -Va --nofiles --nodigest

**yum install docker-ce-cli-20.10.8-3.el7.x86\_64.rpm**

Failed to set locale, defaulting to C

Loaded plugins: fastestmirror, rhnplugin, versionlock

This system is receiving updates from Spacewalk server.

Examining docker-ce-cli-20.10.8-3.el7.x86\_64.rpm: 1:docker-ce-cli-20.10.8-3.el7.x86\_64

Marking docker-ce-cli-20.10.8-3.el7.x86\_64.rpm to be installed

Resolving Dependencies

→ Running transaction check

—\> Package docker-ce-cli.x86\_64 1:20.10.8-3.el7 will be installed

→ Processing Dependency: docker-scan-plugin(x86-64) for package: 1:docker-ce-cli-20.10.8-3.el7.x86\_64

Loading mirror speeds from cached hostfile

→ Finished Dependency Resolution

Error: Package: 1:docker-ce-cli-20.10.8-3.el7.x86\_64 (/docker-ce-cli-20.10.8-3.el7.x86\_64)

Requires: docker-scan-plugin(x86-64)

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

Can any one help me in resolving this issue.

---

<div class="post-metadata">

**Author:** ![nithinbharadwaj](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nithinbharadwaj](https://forums.docker.com/u/nithinbharadwaj)\
**Post date:** [September 24, 2021, 8:10pm UTC](https://forums.docker.com/t/error-installing-docker-on-centos7/115649/2 "2021-09-24T20:10:45Z")

</div>

> [@nithinbharadwaj](#):
>
> fuse-overlayfs

Resolved the following errors i got while installing docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm

→ Processing Dependency: fuse-overlayfs \>= 0.7 for package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64  
Loading mirror speeds from cached hostfile  
→ Processing Dependency: slirp4netns \>= 0.4 for package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64

**These errors were resolved by installing the following packages**

slirp4netns-0.4.3-4.el7\_8.x86\_64.rpm

fuse-overlayfs-0.7.2-6.el7\_8.x86\_64.rpm

\*\*Now i am getting this error while executing command **yum install docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm**

Failed to set locale, defaulting to C

Loaded plugins: fastestmirror, rhnplugin, versionlock

This system is receiving updates from Spacewalk server.

Examining docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64

Marking docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm to be installed

Resolving Dependencies

→ Running transaction check

—\> Package docker-ce-rootless-extras.x86\_64 0:20.10.8-3.el7 will be installed

→ Processing Dependency: docker-ce for package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64

Loading mirror speeds from cached hostfile

→ Finished Dependency Resolution

Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86\_64 (/docker-ce-rootless-extras-20.10.8-3.el7.x86\_64)

Requires: docker-ce

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

---

<div class="post-metadata">

**Author:** ![donncm8977](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@donncm8977](https://forums.docker.com/u/donncm8977)\
**Post date:** [October 8, 2021, 12:27pm UTC](https://forums.docker.com/t/error-installing-docker-on-centos7/115649/3 "2021-10-08T12:27:03Z")

</div>

Try this . It worked for me:  
rpm -i docker-ce-20.10.8-3.el7.x86\_64.rpm docker-ce-rootless-extras-20.10.8-3.el7.x86\_64.rpm docker-ce-cli-20.10.8-3.el7.x86\_64.rpm docker-scan-plugin-0.8.0-3.el7.x86\_64.rpm
