docker end container code example
Example: stop docker container
//Check if the container is running
docker ps -a
docker container stop {container-id}
//Check if the container is running
docker ps -a
docker container stop {container-id}