Quickly learn How to stop several Docker containers at once with WhaleDeck Shorts. Clear, step-by-step guides for Docker.
The answer is quite simple. The following command shows how to stop the two containers with the names container_1 and container_2 at once.
docker stop container_1 container_2