How to Install Docker on Oracle Linux 8

Oracle Linux Server 8 does not include docker in the official repository, it provides Podman as an alternative to docker.

We can install the Docker Community Edition on Oracle Linux Server 8.x from the Docker repository.

Enable Docker repository

dnf install -y dnf-utils
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

Install Docker Community Edition with command

dnf install -y docker-ce

Set docker to start on boot

systemctl enable docker

To start docker

systemctl start docker

To stop docker

systemctl stop docker

Back to Docker

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *