basic logs command

This commit is contained in:
Jeff Lindsay
2013-06-11 21:23:26 -07:00
parent b93ad57e33
commit 641292662a

10
appctl
View File

@@ -1,12 +1,8 @@
#!/bin/bash
case "$1" in
hello)
echo Hello world
;;
foobar)
echo Foobar
logs)
CONTAINER=$(</home/git/$USER/CONTAINER)
docker logs $CONTAINER | tail -n 100
;;
*)