janeczku / janeczku/docker-dropbox

Is it possible to keep dropbox device link static for each executed container ?

Open
#41 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
154
Forks
125
PR merge metrics
No merged PRs in 30d

Description

Hi,

Sorry if this is very inocent/basic question.

Everytime i run a dropbox container with this or similar images, this arises on terminal:

> Please visit https://www.dropbox.com/cli_link_nonce?nonce=xxxxxxxxxxxxxxx to link this device.

This is normal, as expected, like when you run dropbox client on host. Same for docker compose deployments, because the container finally started is identified by dropbox engine like another new one, like a new device to be linked.

But, for "particular use" this is cumbersome (if it is not assumed to have always available/running containers) because you'll need to link the new device (container) in dropbox site (and probably you will have to unlink older ones). I mean, for use on-demand (i open my laptop and want to use this docker image to manage my dropbox accounts ...) it is a handicap ...

Is it any way to avoid renewing this, upon reboots ?. It depends on how dropbox calculates the link url to register/link the device (i didn't found the algorithm to try to understand/trick it). Perhaps this depends on the host id, mac, whatever and could be possible to "replace" or "supplant".

On summary, could it be possible to pin up this "link value" to identify new containers as the same device, furthermore, be taken into account for this docker image ?

Note: i tested with fixed hostname (by mean adding to _docker run_ the option '-h _hostname_'), but same results. On Dropbox site it will appear as same device name, but actually a different link is needed to be reactivated ... :-(

thank u very much
BRs !

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not mention any files, tests, or entry points. Start by examining how the Docker image stores Dropbox state across container recreation and research whether Dropbox supports reusable device credentials. Done should mean that an on-demand container can restart without requiring a new device link, if Dropbox permits this.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.