#!/bin/bash # get the container name from the current working directory IMG_NAME=$(basename $(pwd)) docker build -t $IMG_NAME . docker run --rm -it $IMG_NAME