docker stop container at end code example
Example: how to stop docker
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker