start and stop docker containers code example
Example 1: how to stop docker
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker
Example 2: docker start container
$ docker start my_container
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker
$ docker start my_container