Howto install docker rhel8

From Vidalinux Wiki
Revision as of 18:40, 13 January 2021 by 10.65.50.93 (talk) (Created page with "install repo: dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo install docker latest version: dnf install docker-ce --nobest -y start an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

install repo:

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

install docker latest version:

dnf install docker-ce --nobest -y

start and enable docker service:

systemctl start docker
systemctl enable docker

verify installed docker version:

docker --version