bugfig: docker error cannot mount file as directory

This commit is contained in:
B.J. Dweck 2021-02-07 12:03:36 +02:00
parent c51cd684e2
commit b409d7fe28

View File

@ -38,6 +38,8 @@ function restore {
$DOCKER_COMPOSE stop $tor_service
cp $backup_file backup.tar.gz
docker run --rm \
-v $subscriber_volume:/data/subscriber \
-v $tor_volume:/data/tor \
@ -46,6 +48,8 @@ function restore {
tar -C / -xzvf /backup/backup.tar.gz
$DOCKER_COMPOSE start $tor_service
rm backup.tar.gz
}
$1