/docker-yandex.disk

Yandex.Disk wrapped into Docker image

Primary LanguageDockerfileMIT LicenseMIT

Yandex.Disk Docker image

Docker Automated build Docker Pulls

How it works

  1. Run container using interactive mode with mounted directory for configuration
  2. Obtain OAuth token using your login and password
  3. Stop container
  4. Run container in daemon mode with mounted configuration directory which contains auth token

Setup mode

docker run --rm -it \
           -v /opt/yandex.disk/config:/root/.config/yandex-disk \
           -v /opt/yandex.disk/data:/root/Yandex.Disk \
           ruslanys/yandex.disk setup

Daemon mode

docker run -d --name yandex.disk --restart always \
           -v /opt/yandex.disk/config:/root/.config/yandex-disk \
           -v /opt/yandex.disk/data:/root/Yandex.Disk \
           ruslanys/yandex.disk