Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 992 Bytes

File metadata and controls

25 lines (18 loc) · 992 Bytes

Installation

It is recommend to check before installing docker software whether docker is already available or not by using "docker --version".

if the response is empty, install the docker using below commands.

  • sudo apt install docker.io for ubuntu
  • sudo dnf install docker-ce for redhat
  • docker --version - check the docker installed or not

Start docker service and check the status using below commands for ubuntu and rhel.

Ubuntu

  • "sudo systemctl start docker"
  • "sudo systemctl enable docker"
  • "sudo systemctl status docker"

Rhel

  • "sudo systemctl enable --now docker"
  • "systemctl is-active docker"
  • "systemctl is-enabled docker"

Once docker installed and we can see the complete related information in path of /var/lib/docker.

dockerpath

<- Back to Volumes - - - Back to Testing Applications - - - Ahead to Docker Container Example ->