in

Docker Installation


Srinath M

Uninstall old versions:

sudo yum remove -y docker 
docker-client
docker-client-latest
docker-common
docker-latest
docker-latest-logrotate
docker-logrotate
docker-engine

Add the Utilities needed for Docker:

sudo yum install -y yum-utils 
device-mapper-persistent-data
lvm2

Set up the stable repository:

sudo yum-config-manager 
--add-repo
https://download.docker.com/linux/centos/docker-ce.repo

Install Docker CE:

sudo yum -y install docker-ce

Enable and start Docker:

sudo systemctl start docker && sudo systemctl enable docker

Add cloud_user to the docker group:

sudo usermod -aG docker user//that you created



Source link

What do you think?

Comments

Leave a Reply

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

twenty − five =

Loading…

0
Bootstrapping Django App with Cognito: Personal Experience

Bootstrapping Django App with Cognito: Personal Experience

Protest Photography Safety Tips: Dos and Don'ts, How to Blur Faces, Essential Gear

Protest Photography Safety Tips: Dos and Don’ts, How to Blur Faces, Essential Gear