Linux serverNETWORK ADMINISTRATIONS

How To Install and Use Docker on CentOS 7

This tutorial shows you how to install and use docker on Centos7.

In this tutorial you will first download and install docker.

You will then download and use a Ubuntu container.

The commands that you need yo follow along with this tutorial are:

sudo yum install docker
sudo systemctl start docker
sudo systemctl status docker
sudo systemctl enable docker

sudo docker info
sudo docker version

sudo docker search ubuntu
sudo docker pull ubuntu

sudo docker run ubuntu cat /etc/issue

sudo docker run -it ubuntu bash

If you do not have Centos 7 installed you can learn how to so so here:


source

centos 7

Leave a Reply

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