Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.03 KB

Assorted code snippets

Categories:

Bash

Docker

  • Remove stopped containers:
  • docker rm $(docker ps -a -q)
  • Remove untagged images:
  • docker rmi $(docker images | grep "^<none>" | awk '{print $3}')
  • Remove unused images:
  • docker rmi $(docker images -q)

Git

Miscellaneous

Vim