github.com/chasestarr/deis@v1.13.5-0.20170519182049-1d9e59fbdbfc/tests/bin/prime-docker-images.sh (about)

     1  #!/bin/sh
     2  #
     3  # WARNING: Don't run this script unless you understand that it will remove all Docker items.
     4  #
     5  # Purges *all* Docker containers and images from the local graph, then pulls down a set of
     6  # images to help tests run faster.
     7  
     8  # Remove all Dockernalia
     9  docker kill `docker ps -q`
    10  docker rm -v `docker ps -a -q`
    11  docker rmi -f `docker images -q`
    12  
    13  # Pull Deis testing essentials
    14  docker pull alpine:3.2