Docker Service Start/Stop/Restart commands in linux


There might be the instance to start/stop/restart docker services from the linux console, Following is the systemctl command to perform the operation

Start Docker Service 

$ sudo systemctl start docker.service 

Stop Docker Service 

$ sudo systemctl stop docker.service  

Restart Docker Service 

$ sudo systemctl restart docker.service 

Get status of Docker Service 

$ sudo systemctl status docker.service  




No comments

Powered by Blogger.