On Ubuntu 14.04 (Trusty Tahr) I\'m looking for a way to stop a running container and the only information I have is the image name that was used in the Docker run comma
The previous answers did not work for me, but this did:
docker stop $(docker ps -q --filter ancestor= )