docker run start stop que es code example
Example 1: how to stop docker
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker
Example 2: how to stop a container docker
docker stop <ContainerID>
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker
docker stop <ContainerID>