Home >Operation and Maintenance >CentOS >How to check whether docker is installed in centos7

How to check whether docker is installed in centos7

尚
Original
2020-03-30 16:03:336556browse

How to check whether docker is installed in centos7

How to check whether docker is installed in centos7:

1. If the rpm package is installed, you can use rpm -qa to see it. If you want to find out whether a certain software package is installed, Use rpm -qa | grep "the name of the software or package".

 rpm -qa | grep  docker

2. If installed by yum method, you can use yum list installed to search. If you are looking for a specified package, add | grep "software name or package name" after the command;

 yum list installed | grep  docker

Recommended tutorial: centos tutorial

The above is the detailed content of How to check whether docker is installed in centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn