Docker Installation
1 min read

Docker Installation

Docker Installation
Photo by Abigail Lynn / Unsplash

Install

It's pretty simple to install docker. Copy this to your terminal.

yum install -y yum-utils
yum-config-manager \
	--add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
systemctl enable docker --now

Uninstall

For removing.

yum remove docker-ce docker-ce-cli containerd.io docker-compose-plugin
rm -rf /var/lib/docker
rm -rf /var/lib/containerd