In this tutorial, we are going to install Docker on CentOS 7. Let’s follow the following steps to install Docker on CentOS 7.
Prerequisites
- Kernel must be 3.10 at minimum
- For checking kernel version, use this command:
uname -r
Add Docker’s Repository
sudo touch /etc/yum.repos.d/docker.repo
|
|
Install Docker
sudo yum install docker-engine
The process of installing Docker on CentOS is done. Now, we must run a hello world container