#!/usr/bin/env bash
set -e
set -o errexit
set -o nounset
set -o xtrace
set -o verbose

export COMPOSE_PROJECT_NAME="dind$(cat /proc/sys/kernel/random/uuid  | sed 's/-//g')"

function clean_up {
  docker rm -fv $(docker ps -a --format "{{.Names}}" | grep $COMPOSE_PROJECT_NAME) || true
}

trap clean_up EXIT

"$@"

#!/usr/bin/env bash
set -e
set -o errexit
set -o nounset
set -o xtrace
set -o verbose

docker version
docker-compose version

export COMPOSE_PROJECT_NAME="dind$(cat /proc/sys/kernel/random/uuid  | sed 's/-//g')"

function clean_up {
  docker rm -fv $(docker ps -a --format "{{.Names}}" | grep $COMPOSE_PROJECT_NAME) || true
}

trap clean_up EXIT

"$@"

Add printing of version numbers
Add printing of version numbers
