This commit is contained in:
Ferenc Lombai 2022-10-07 16:50:31 +02:00 committed by GitHub
commit d6f24044cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ fi
echo "Creating destination volume \"$2\"..."
docker volume create --name $2
docker volume create --name $2 $(docker volume inspect $1 --format '{{range $k,$v:=.Labels}}--label {{$k}}={{$v}} {{end}}')
echo "Copying data from source volume \"$1\" to destination volume \"$2\"..."
docker run --rm \
-i \