Better source directory detection.
This commit is contained in:
parent
9a07f9fc74
commit
99370803e3
2
dbash
2
dbash
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/_get_container.sh
|
||||
. $(dirname "$(readlink -f "$0")")/_get_container.sh
|
||||
|
||||
docker exec -it "$container" /bin/bash
|
||||
|
2
dlogs
2
dlogs
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/_get_container.sh
|
||||
. $(dirname "$(readlink -f "$0")")/_get_container.sh
|
||||
|
||||
docker logs --tail=100 -f "$container"
|
||||
|
2
dlogsl
2
dlogsl
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/_get_container.sh
|
||||
. $(dirname "$(readlink -f "$0")")/_get_container.sh
|
||||
|
||||
docker logs -f "$container" 2>&1 | less
|
||||
|
2
dlr
2
dlr
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $(dirname $0)/_get_container.sh
|
||||
. $(dirname "$(readlink -f "$0")")/_get_container.sh
|
||||
|
||||
docker restart "$container" && docker logs --tail=100 -f "$container"
|
||||
|
Loading…
Reference in New Issue
Block a user