Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Remove unused docker images, containers, volumes
Bash
by
Jimmy Hoang
19th January 2017
# REMOVE UNUSED CONTAINERS docker rm $(docker ps -a -q -f 'status=exited') # REMOVE UNUSED IMAGES docker rmi $(docker images -a -q -f "dangling=true") # REMOVE UNUSED VOLUMES docker volume rm $(docker volume ls -qf dangling=true)
latest revision
2
1
3 Responses
Great!!!
0
Reply?
S
Strider
7 years ago
Cool!
0
Reply?
Marco Piñero
7 years ago
Great!!
0
Reply?
Minh Nhật Phan
7 years ago
Write a comment
Send Comment
You can use [html][/html], [css][/css], [php][/php] and
more
to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
3 Responses
Write a comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.