.
This commit is contained in:
parent
12cf227133
commit
bcf130091f
4 changed files with 119 additions and 1 deletions
3
files/.local/bin/docker-sh
Executable file
3
files/.local/bin/docker-sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
id="$(docker ps -n 1 --format '{{.ID}}')"
|
||||
docker exec -it "$id" "${1:-sh}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue