A simply WebDAV docker image. WebDAV LOCK can also be used.
1.2K
A simply WebDAV docker image.
WebDAV LOCK can also be used.
use digest authentication.
docker run -dit --name=webdav -v <path to location>:/usr/local/apache2/uploads -p 8080:80 kxn4t/webdav-docker
non mount (temporary using)
docker run -dit --name=webdav -p 8080:80 kxn4t/webdav-docker
http://localhost:8080/uploads
One person is registered as an initial user.
user: admin
pass: test1234
docker exec
docker exec -it webdav bash
change htdigest
htdigest "/usr/local/apache2/user.passwd" DAV-upload admin
change password
restart httpd
httpd -k restart
docker exec
docker exec -it webdav bash
change httpd-dav.conf
vim conf/extra/httpd-dav.conf
<RequireAny>
Require method GET POST OPTIONS LOCK
Require user admin <add username>
</RequireAny>
example:
<RequireAny>
Require method GET POST OPTIONS LOCK
Require user admin kxn4t
</RequireAny>
add htdigest
htdigest "/usr/local/apache2/user.passwd" DAV-upload <add username>
restart httpd
httpd -k restart
MIT
Content type
Image
Digest
Size
69.3 MB
Last updated
over 7 years ago
docker pull kxn4t/webdav-docker