I no longer use Dropbox due to recent TOS and service changes Dropbox has decided to take so there will be no further maintainence to this docker unless those are changed.
Run Dropbox inside Docker. Fully working with local host folder mount or inter-container linking (via --volumes-from
).
This repository is based on the janeczku/dropbox image and attempts to fix the file system error as a result of recent changes to the Dropbox client (no longer works on ext2 which the container uses).
docker run -d --restart=always --name=dropbox smokex365/docker-dropbox-ext4
docker run -d --restart=always --name=dropbox \
-v /path/to/localfolder:/dbox/Dropbox \
smokex365/docker-dropbox-ext4
This fixes file permission errrors that might occur when mounting the Dropbox file folder (/dbox/Dropbox
) from the host or a Docker container volume. You need to set DBOX_UID
/DBOX_GID
to the user id and group id of whoever owns these files on the host or in the other container.
docker run -d --restart=always --name=dropbox \
-e DBOX_UID=110 \
-e DBOX_GID=200 \
smokex365/docker-dropbox-ext4
docker run -d --restart=always --name=dropbox \
--net="host" \
smokex365/docker-dropbox-ext4
Check the logs of the container to get URL to authenticate with your Dropbox account.
docker logs dropbox
Copy and paste the URL in a browser and login to your Dropbox account to associate.
docker logs dropbox
You should see something like this:
"This computer is now linked to Dropbox. Welcome xxxx"
docker exec -t -i dropbox dropbox help
DBOX_UID
Default: 1000
Run Dropbox with a custom user id (matching the owner of the mounted files)
DBOX_GID
Default: 1000
Run Dropbox with a custom group id (matching the group of the mounted files)
$DBOX_SKIP_UPDATE
Default: False
Set this to True
to skip updating to the latest Dropbox version on container start
/dbox/Dropbox
Dropbox files
/dbox/.dropbox
Dropbox account configuration