3 lines
85 B
Bash
Executable file
3 lines
85 B
Bash
Executable file
#!/bin/sh
|
|
id="$(docker ps -n 1 --format '{{.ID}}')"
|
|
docker exec -it "$id" "${1:-sh}"
|