#!/usr/bin/sh TAG=$1 PROCESS=$(sudo docker ps | grep $TAG | awk '{ print $1}') sudo docker exec -it $PROCESS bash