Linux Diary
Major Pages
Home
Python
Docker
Jenkins
Vagrant
Packer
SCCM
Windows
Application Packaging/RePackaging for Windows
Gradle
Android
Ant
Interview Questions
Powershell
C#/c sharp
Database
Maven
MSBuild
AWS
Kubernetes
Ansible
Linux and Artifactory
C++
Monday, November 12, 2018
List,stop,remove all containers
List all containers (only IDs)
docker ps -aq
Stop all running containers
docker stop $(docker ps -aq)
Remove all containers
docker rm $(docker ps -aq)
Remove all images
docker rmi $(docker images -q)
Reference
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment