Forum Navigation
You need to log in to create posts and topics.

Docker Restart all Containers

Problem

User wants to restart all containers with single command

Solution

Execute the following command

docker ps -a | awk ‘{print $1}’ | xargs docker restart

 

If you have found my website, guides, articles or videos useful, please buy me a coffee