1
0
mirror of https://gitlink.org.cn/pooneyy/1Panel-Appstore.git synced 2026-04-24 10:41:42 +08:00
1Panel-Appstore/apps/netdisk-fast-download/main/scripts/init.sh
2024-12-19 11:36:05 +08:00

11 lines
247 B
Bash

#!/bin/bash
TEMP_CONTAINER_NAME="$(docker create ghcr.io/qaiu/netdisk-fast-download:main)"
if [ $? -ne 0 ]; then
echo "Failed to create container"
exit 1
fi
docker cp $TEMP_CONTAINER_NAME:/app/resources ./data
docker rm $TEMP_CONTAINER_NAME