how to kill a docker running code example
Example: can't kill docker container
$ sudo systemctl restart docker.socket docker.service
$ docker rm <container id>
$ sudo systemctl restart docker.socket docker.service
$ docker rm <container id>