Skip to content

ruslanys/docker-yandex.disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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