Kill a Docker Container
Do docker container ls
to find the container name if you don't know it already, then docker kill container_name
.
Source: Docker documentation
You will be able to see currently running docker containers using below command.
docker ps
Then copy the CONTAINER ID of the running container and execute the following command
docker stop <container_id>
Please replace with a real value.