centos 7 restart docker service code example Example: how to restart docker linux $ sudo systemctl start docker