-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#4 Добавил скрипт для очиски докера, убрал xvfb class из Jenkinsfile.
- Loading branch information
Richard
committed
Sep 19, 2016
1 parent
be330c1
commit 67da0d8
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v | ||
docker images --no-trunc | grep '<none>' | awk '{ print $3 }' | xargs -r docker rmi | ||
docker volume ls -qf dangling=true | xargs -r docker volume rm |