github.com/rvaralda/deis@v1.4.1/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 ubuntu-debootstrap:14.04
    15  docker pull deis/slugbuilder:latest
    16  docker pull deis/slugrunner:latest
    17  docker pull deis/test-etcd:latest
    18  docker pull deis/test-postgresql:latest