#!/bin/bash

docker ps --format {{.Names}} | while read name; do
    echo "Container: $name"
    docker exec $name $@
done

