I am inspired by this blog post about running applications through Docker to prevent programs from leaving remnants all over my OS.
The first thing to try out is Dropbox. Luckily there are already Docker images available with Dropbox and I am going for a small image based on Alpine: https://github.com/dylansm/dropbox
When trying Dropbox images I learned that if they are too old (say, more than 6 months) the image may work and the Dropbox daemon starts, but after authenticating to your Dropbox account no files are downloaded. The fix is to build the image yourself (without altering the Dockerfile) to get the latest Dropbox installation.
After building the image (in the folder with the Dockerfile) with
a container with my setup is created with the following command:
The container is started with
docker start dropbox.