docker ps give you list of running docker containers.
root@hon-vpn:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 594c77d77351 nginx "nginx -g 'daemon ..." 54 seconds ago Up 51 seconds 0.0.0.0:8000->80/tcp condescending_cori 25cec84d12ff nginx "nginx -g 'daemon ..." 3 minutes ago Up 3 minutes 80/tcp flamboyant_golick root@hon-vpn:~#
To stop a container, run
docker stop CONTAINER_ID
Example
root@hon-vpn:~# docker stop 594c77d77351 25cec84d12ff 594c77d77351 25cec84d12ff root@hon-vpn:~#