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
1 2 |
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
1 |
dnf install -y docker-ce |
Set docker to start on boot
1 |
systemctl enable docker |
To start docker
1 |
systemctl start docker |
To stop docker
1 |
systemctl stop docker |
Back to Docker