#!/usr/bin/env sh set -e if [ "$1" != "" ];then docker ps -a | grep $1 else docker ps -a fi