delete container from docker code example
Example 1: docker force remove container
docker rm -f [containerid]
Example 2: how to remove a docker container
docker container rm [container id]
docker rm -f [containerid]
docker container rm [container id]