kill docker container by port 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>