Usage:
docker run --restart always --detach --name webdav --publish 7000:8080 \
--env UID=$UID --volume $PWD:/media ionelmc/webdav
Optionally you can add two environment variables to require HTTP basic authentication:
- WEBDAV_USERNAME
- WEBDAV_PASSWORD
Example:
docker run --restart always --detach --name webdav --publish 7000:8080 \
--env WEBDAV_USERNAME=myuser --env WEBDAV_PASSWORD=mypassword \
--env UID=$UID --volume $PWD:/media ionelmc/webdav