davfs2 源代码地址:https://github.com/volga629/davfs2
# 创建共享挂载点
mount --bind /mnt /mnt
mount --make-shared /mnt
# 生成容器
docker run -d \
--name webdav-client
--privileged \
--device /dev/fuse \
-e WEBDRIVE_USER=<username> \
-e WEBDRIVE_PASSWORD=<password> \
-e WEBDRIVE_URL=http://url/webdav/ \
-e PUID=1000 \
-v <host/path/to/folder>:/mnt/webdrive:shared \
wbsu2003/webdav-client:v1
镜像使用方法可以在 老苏的blog:https://laosu.ml 找找,如果找不到,那说明还在折腾中~~
欢迎关注公众号:

Content type
Image
Digest
Size
59.8 MB
Last updated
almost 5 years ago
docker pull wbsu2003/webdav-client