How to check whether docker is installed in centos7

Release: 2020-03-30 16:03:33
Original
6321 people have browsed it

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
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!