Skip to content

Commit

Permalink
feat(docker): add update for all images
Browse files Browse the repository at this point in the history
  • Loading branch information
Deavon M. McCaffery committed Aug 31, 2017
1 parent c039be1 commit 5167da4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scripts/docker-gc.sh → src/scripts/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ docker-rm() {

docker-rmi() {
docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2>/dev/null
}

docker-update() {
docker images | grep -v REPOSITORY | awk '{print $1}' | xargs -L1 docker pull
}

0 comments on commit 5167da4

Please sign in to comment.