Start docker command:
systemctl start docker
Check whether the startup is successful
docker version
The presence of client and service indicates that the startup is successful.
Set up auto-start at boot:
sudo systemctl enable docker
Recommended tutorial:docker tutorial
The above is the detailed content of How to start docker in centos. For more information, please follow other related articles on the PHP Chinese website!