how to stop image container in docker code example Example: stop docker image docker stop <image_name>