Merge pull request #2 from zgyorffi/fix_final_command

Fix final command
This commit is contained in:
Guido Diepen 2016-05-09 19:08:12 +02:00
commit 8bfc28ca03
1 changed files with 6 additions and 6 deletions

View File

@ -42,9 +42,9 @@ fi
echo "Creating destination volume \"$2\"..."
docker volume create --name $2
echo "Copying data from source volume \"$1\" to destination volume \"$2\"..."
echo docker run --rm \
docker run --rm \
-i \
-t \
-v $2:/from \
-v $1:/to \
-v $1:/from \
-v $2:/to \
alpine ash -c "cd /to ; cp -a /from/* ."