Sign inSign up

leejongyoung/baidupan

By leejongyoung

•Updated almost 8 years ago

https://github.com/leejongyoung/docker-baidupan

Image
0

300

leejongyoung/baidupan repository overview

⁠Docker-BaiduPan

⁠Introduction

This is a useful tool to synchronize your data between Baidu Pan and any environment that supports Docker. It uses Alpine Linux⁠ as base layer and bypy⁠ as the client.

⁠Quick Start

⁠Step 1
docker pull leejongyoung/baidupan
⁠Step 2
docker run -it --restart on-failure --name docker-baidupan -v /path/to/bypy:/bypy leejongyoung/docker-baidupan

Note:

  • Update /path/to to your actual path you want to sync with Baidu Pan
  • --restart on-failure is to set auto-restart when expected error occurs

or

# docker-compose.yml
version: '3.7'

services:
  baidupan:
    image: "leejongyoung/baidupan"
    container_name: "baidupan"
    restart: always
    volumes:
    - "/path/to/bypy:/bypy"
docker-compose up -d
⁠Step 3
  1. Copy the URL in the prompt and visit it on your browser.
  2. It authenticates and authorizes your Baidu account
  3. After you accept the application, a string code is ready for you.
  4. Copy the code, paste it to the prompt and hit Enter
⁠Step 4

You can keep the docker container running in the foreground

-- or --

You can hit CTRL-C to stop it, and then type the following command to restart the container.

docker start baidupan

⁠Reference

⁠License

  • MIT

⁠Github Repo

leejongyoung/docker-baidupan⁠

Tag summary

Content type

Image

Digest

Size

264 MB

Last updated

almost 8 years ago

docker pull leejongyoung/baidupan