Mount the server Docker Alist to the local disk (Mac version) Quark Network Disk

1. Server download alist

There is a docker environment by default

docker pull xhofe/alist

img

2. Generate container

-v /home/alist:/opt/alist/data

This means that the data in alist is mapped to the folder of the docker host. /home/alist is the folder of my host. This folder must be created first.

docker run -d --restart=always -v /home/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist:latest

3. Open 5244 access to the server

img

4. Obtain Alist’s initial login password

 docker exec -it alist ./alist admin

img

5. Log in to the web server and enter your account and password

http://ip:5244

img

6. Configure Quark server

  • Click Manage at the bottom

img

  • Click-Save-Add

img

  • Choose Quark driver, or other network disks

https://alist.nn.ci/zh/guide/#support-storage This address contains all the settings that support network disk. Here I will only demonstrate the Quark network disk.

There are only a few places to fill in

img

img

img

Just fill in everything except the cookies. Now let’s talk about how to obtain Quark’s cookies.

First log in to the web version of Quark: address https://pan.quark.cn/

Press F12, click Network/NetWork, right-click the page to refresh, then find the request starting with sort in the request, and then find the cookie in the bid and copy it

img

Then click on the home page in the lower left corner and you will see our network disk. It will synchronize for a while at the beginning. It is normal that there is no content.

img

7.Hang from server to local

My computer is a mac, so I use the software CloundMounter. If you have windows, you can use other hanging software. The software CloundMounter is currently available for download in the appStore.

http://ip:5244/dav/ Be sure to add /dav/ at the end, otherwise it will not succeed.

img

You can see that there is a network disk mounted locally.

img

If you don’t have a server, you can read this article if you want to install alist locally.

https://zhuanlan.zhihu.com/p/612368639

Guess you like

Origin blog.csdn.net/weixin_45948874/article/details/131961445