What is docker ?
What is Docker definition ?
Docker Installation - What is Docker |
Tags: docker, docker tutorial, docker hub, docker container, docker compose, docker networking, docker nginx, docker images, docker linux, docker basic commands, run docker, run docker image, run docker container, linuxtopic
Docker is an open source containerization technology that is designed to make it easier to create, deploy, and run applications using containers.
To install some dependency package
yum install -y yum-utils device-mapper-persistent-data lvm2
To Install repository
yum install epel-releaseORyum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Verify
cat /etc/yum.repos.d/docker-ce.repo
To Install Docker on CentOS/RHEL 7
yum install docker
To list package
yum list docker-ce --showduplicates | sort -r
To Start Docker Service on CentOS 7
systemctl start dockersystemctl status dockersystemctl enable docker
Verify Docker Version and info Docker
docker version
docker --version
docker info
To help docker
docker --help
To Remove Docker
check docker package on your system, if already installed remove it and install a fresh one
yum list docker-ce --showduplicates | sort -r
yum remove docker-*
To get more info about docker - Click here