Install Docker:
sudo yum install# 例如:sudo yum install docker-ce-18.03.1.ce
Verify whether the installation is successful under Linux (there are two parts, client and service, indicating that the docker installation and startup are successful) (recommended learning:Linux video tutorial)
docker version
For more related tutorials, please pay attention to thedocker tutorialcolumn on the PHP Chinese website.
The above is the detailed content of How to check if docker has been installed in linux. For more information, please follow other related articles on the PHP Chinese website!