4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Docker常用的清除容器镜像

杀死所有running状态的容器

docker kill $(docker ps -q)
删除所有已经停止的容器

docker rm $(docker ps -a -q)
删除所有'untagged/dangling' ()状态的镜像

docker rmi $(docker images -q -f dangling=true)
删除所有镜像:

docker rmi $(docker images -q)

1 upvotes $0.00

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: