How to stop a running container in docker
Docker514
description
Quickly shut down the docker running container through a command line. In this example, we use the mysql container to demonstrate. Before shutting down, you can use docker ps to view the currently running container.
command
docker stop mysql
parameter
docker : is an open source application container engine that allows developers to package their applications and dependencies into a portable image stop : stop one or more running containers
result
mysql