re: Useful Docker shell aliases to speed up Development VIEW POST


Cool! You can simplify your docker stop command like this (if you want)

docker stop $(docker ps -q)

edit: remove 'a' from the ps command


You can speed up this command by simply removing the a flag. It gets all Docker containers, even those which are stopped, which makes no sense for stopping all containers.


You are right, also using this to remove all so got confused 😜

Code of Conduct Report abuse