Skip to content

Commit

Permalink
fix: macos docker mount permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Dec 14, 2024
1 parent 5d951c3 commit 448b0db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ function qrcode_mode_choose() {
docker run -i --rm \
-v "${1}:/data" \
-e LANG=C.UTF-8 \
--privileged=true \
$(get_default_network "qrcode") \
ddsderek/xiaoya-glue:python \
"${2}" --qrcode_mode=web ${extra_parameters}
Expand Down Expand Up @@ -504,6 +505,7 @@ function qrcode_mode_choose() {
docker run -i --rm \
-v "${1}:/data" \
-e LANG=C.UTF-8 \
--privileged=true \
ddsderek/xiaoya-glue:python \
"${2}" --qrcode_mode=shell ${extra_parameters}
return 0
Expand Down Expand Up @@ -1047,6 +1049,7 @@ function get_aliyunpan_folder_id() {
docker run -it --rm \
-v "${1}:/data" \
-e LANG=C.UTF-8 \
--privileged=true \
ddsderek/xiaoya-glue:python \
/get_folder_id/get_folder_id.py --data_path='/data' --drive_mode=r
;;
Expand Down Expand Up @@ -1777,6 +1780,7 @@ function pull_run_glue_xh() {
--net=host \
-v "${MEDIA_DIR}:/media" \
-v "${CONFIG_DIR}:/etc/xiaoya" \
--privileged=true \
${extra_parameters} \
-e LANG=C.UTF-8 \
xiaoyaliu/glue:latest \
Expand All @@ -1788,6 +1792,7 @@ function pull_run_glue_xh() {
--net=host \
-v "${MEDIA_DIR}:/media" \
-v "${CONFIG_DIR}:/etc/xiaoya" \
--privileged=true \
-e LANG=C.UTF-8 \
xiaoyaliu/glue:latest \
"${@}" > /dev/null 2>&1
Expand Down

0 comments on commit 448b0db

Please sign in to comment.