Moved some scripts into a separate directory

This commit is contained in:
Kasra Bigdeli
2019-01-12 01:11:24 -08:00
parent fa46b4f9af
commit f19dbca8f8
6 changed files with 5 additions and 44 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
# ./dev-shell-to-captain.sh captain-captain
if ! [ $(id -u) = 0 ]; then
echo "Must run as sudo or root"
exit 1
fi
docker exec -it $(docker container ls --filter name=$1 | awk 'FNR == 2 {print $1}') /bin/sh