#!/bin/sh id="$(docker ps -n 1 --format '{{.ID}}')" docker exec -it "$id" "${1:-sh}"