mirror of
https://github.com/gdiepen/docker-convenience-scripts.git
synced 2025-03-09 19:20:25 +00:00
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:
parent
23db7997b1
commit
09b32a0ee9
1 changed files with 1 additions and 1 deletions
|
@ -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/* ."
|
||||
|
|
Loading…
Add table
Reference in a new issue