LoginSignup
8
7

More than 5 years have passed since last update.

簡単にwebdavサーバを建てる

Last updated at Posted at 2015-06-01

起動方法

docker run \
  -dP \
  -v `pwd`:/srv/webdav \
  -p 443:443 \
  -e PASSWORD=$( read -p "Password: " -s PASSWORD && echo $PASSWORD ) \
  parente/webdav \
  • passwordの入力を求められる。これはwebdavユーザに対するパスワード。
  • https://ipaddr/webdav にアクセスすると、
    • ユーザ名: webdav
    • パスワード: 先ほど入力したパスワード
    • これでpwdが表示される。
  • 読み書きは www-data 権限で行われる。

利用方法

nautilus からの接続

httpsの場合
davs://user@host.name/path
davs://host.name/
davs://user:password@host.name/path

httpの場合はdavs://の代わりにdav://を指定する。

8
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7