[Help] Folder settings for docker container
Posted: 26 Apr 2025, 06:31
Hi, quite new to Docker and to TOS6, and have a question about best practices for file locations; I am trying to set up a container for Kopia, I found an image and downloaded it, and now looking at the installations settings here:
https://kopia.io/docs/installation/#docker-images
Apparently I need to mount a number of local volumes, like so:
My question is, what would be the preferred location to mount these (aka the "/path/to/config/dir:)? Would it be my user home folder, or somewhere else? As a side note, I'm a little confused on the role of the home folder in TOS - I always thought it was for keeping personal files, but I read in another comment that it's not intended for data storage. What is it meant to be used for?
Appreciate any advice!
https://kopia.io/docs/installation/#docker-images
Apparently I need to mount a number of local volumes, like so:
Code: Select all
# Mount local folders needed by kopia
- /path/to/config/dir:/app/config
- /path/to/cache/dir:/app/cache
- /path/to/logs/dir:/app/logs
# Mount local folders to snapshot
- /path/to/data/dir:/data:ro
# Mount repository location
- /path/to/repository/dir:/repository
# Mount path for browsing mounted snaphots
- /path/to/tmp/dir:/tmp:sharedAppreciate any advice!