##Install Docker
For Community Edition (Use this command)
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
(Optional) For Enterprise Edition
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ee.repo
yum install docker-ce -y
## Start/Stop/Enable/Status Docker Daemon
systemctl start docker.service
systemctl stop docker.service
systemctl enable docker.service
systemctl status docker.service
## List Docker CLI commands
docker
docker container --help
## Display Docker version and info
docker --version
docker version
docker info
## Execute Docker image
docker run hello-world
## List Docker images
docker image ls
or
docker images
## List Docker containers (running, all, all in quiet mode)
docker container ls
docker container ls --all
docker container ls -aq
Search This Blog
day to day learnings, problems, solutions while working as a Systems Engineer in IT industry
- Get link
- X
- Other Apps
Popular Posts
Multipathing with RHEL7 on Dell R730 & EMC XT380 SAN Storage
- Get link
- X
- Other Apps
Comments
Post a Comment