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