fix problem during volumes copy

The copied volume (destination) was created but was empty at the end of the process.
In order to fix it, I had to remove the second argument of the cp command.
This commit is contained in:
Nicola 2017-10-12 10:20:08 +02:00 committed by GitHub
parent 23db7997b1
commit 09b32a0ee9

View file

@ -47,4 +47,4 @@ docker run --rm \
-t \
-v $1:/from \
-v $2:/to \
alpine ash -c "cd /to ; cp -a /from/* /from/.* ."
alpine ash -c "cd /to ; cp -a /from/* ."