Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 

Repository files navigation

oracle-linux-install-docker

✅ The error you’re seeing means Docker’s containerd.io package conflicts with Oracle Linux’s (OL8) built-in runc and Podman packages from the ol8_appstream repo.

Oracle Linux 8 comes with Podman, Buildah, and runc from Oracle’s repos — which conflict with Docker’s own containerd.io and runc versions.

Let’s fix this cleanly and get Docker + Docker Compose working on Oracle Linux 8.10.


🧹 Step 1: Remove conflicting packages

You need to remove Podman and the system-provided container tools before installing Docker.

sudo dnf remove -y podman buildah runc

🧰 Step 2: Set up Docker’s official repository

Add the Docker CE repo directly (not Oracle’s one).

sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

ℹ️ Oracle Linux 8 is binary-compatible with RHEL/CentOS 8 — so the CentOS repo works perfectly.


🧱 Step 3: Install Docker CE and dependencies

Now install Docker CE and Docker Compose plugin together.

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

If you still hit a conflict, force DNF to disable AppStream’s container modules:

sudo dnf module disable container-tools -y
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin

⚙️ Step 4: Enable and start Docker

sudo systemctl enable docker
sudo systemctl start docker
sudo systemctl status docker

🧪 Step 5: Test Docker and Compose

docker run hello-world
docker compose version

✅ Optional: Add your user to Docker group

sudo usermod -aG docker $USER
newgrp docker

Then verify:

docker ps

🧩 Summary

Task Command
Remove Podman & conflicts sudo dnf remove -y podman buildah runc
Disable container-tools module sudo dnf module disable container-tools -y
Add Docker repo sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Install Docker sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
Start service sudo systemctl enable --now docker

Would you like me to give you a single copy-paste script that installs Docker CE + Compose cleanly on OL8.10 (with all fixes and checks)?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.