dots/files/.local/bin/docker-sh
2026-08-18 19:17:42 +02:00

3 lines
85 B
Bash
Executable file

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