docker kill container command 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>