Docker - Stop And Remove All Containers


2 min read

Commands

  • Run the following command:
1docker stop $(docker ps -a -q)
2docker rm $(docker ps -a -q)
Previous post:
Python - Setting Up A Virtual Environment
Next post:
SQL - Using COALESCE To Set Default Values

Discussion