Combine with files from virtual working directory

This commit is contained in:
2014-12-18 12:18:17 +00:00
parent 25a6f48597
commit 41761f6043
60 changed files with 1436 additions and 1 deletions

7
images/btsync/bin/run Normal file
View File

@@ -0,0 +1,7 @@
ARGS="-p 8888:8888 -v /opt/docker/images/btsync/fs:/host"
DIR=`dirname $0`
DIR=`readlink -e $DIR`
BASE=`basename $DIR`
IFS='/' read -ra ADDR <<< "$DIR"
CONTAINER=${ADDR[-2]}
/opt/docker/bin/run -t $CONTAINER "$ARGS" $1 "$2"