Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ccb8fbf3
authored
Jun 05, 2017
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add delete volumes
parent
fa798f04
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
docker/script/clean-all.sh
docker/script/clean-all.sh
View file @
ccb8fbf3
...
...
@@ -3,4 +3,6 @@
docker rm
-f
$(
docker ps
-a
-q
)
# Delete all dangling images
docker rmi
$(
docker images
-f
"dangling=true"
-q
)
# delete all volumes
docker volume rm
`
docker volume
ls
| awk
'{print $2}'
`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment