• 64-bit CentOS 7
Installing Docker
The Docker installation package accessible in the authority CentOS 7 store may not be the most recent adaptation. To get the best in class variant, introduce Docker from the official Docker vault. This segment tells you the best way to do only that.
But first, let’s update the package database:
$ sudo yum check-update
$curl -fsSL https://get.docker.com/ | sh
After installation completed, start the Docker daemon:
$sudo systemctl start docker
Check that it's running:
$sudo systemctl status docker
The output is similar to the following, showing that the service is active and running
Output
$ docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-11-06 06:53:52 CDT; 1 weeks 3 days ago
Docs: https://docs.docker.com
Main PID: 749 (docker)
$ sudo systemctl enable docker
Installing Docker currently gives you the Docker service (daemon) yet additionally
the docker command line utility, or the Docker customer. We'll investigate how to utilize the docker command later in this Article
$ docker [option] [command] [arguments]
To view all available subcommands, type:
$ docker info

