# Docker volumes

**URL:** https://forum.syncthing.net/t/docker-volumes/12867
**Category:** General
**Created:** [February 20, 2019, 1:01am UTC](https://forum.syncthing.net/t/docker-volumes/12867 "2019-02-20T01:01:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jordanpotter](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/d9b06d/32.png) [@jordanpotter](https://forum.syncthing.net/u/jordanpotter)
#### Post date: [February 20, 2019, 1:01am UTC](https://forum.syncthing.net/t/docker-volumes/12867/1 "2019-02-20T01:01:35Z")

</div>

The [Dockerfile](https://github.com/syncthing/syncthing/blob/master/Dockerfile) has `/var/syncthing` as the available mount point. However, that volume has two very different things in it:

1. `/var/syncthing/config` - the configuration files
2. `/var/syncthing/Sync` - the default sync data directory

As someone who uses Docker data volumes, I would want to manage the configuration files differently than I do my important files. Should these be separate mount points?

Note: a change like this would potentially break anyone who is using `syncthing/syncthing:latest`. Although people should really be pinning their versions in production, but I’m not looking to fight that battle here 😅

---

<div class="post-metadata">

### Author: ![kbtombul](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/k/bb73d2/32.png) [@kbtombul](https://forum.syncthing.net/u/kbtombul)
#### Post date: [February 21, 2019, 9:12am UTC](https://forum.syncthing.net/t/docker-volumes/12867/2 "2019-02-21T09:12:20Z")

</div>

I am still kinda new to Docker but you should be able to:

- mount `/var/syncthing`
- completely ignore `/var/syncthing/Sync` (it might be created if you don’t generate the config before starting the container, you can always delete it afterwards)
- mount your data directory to wherever, say `/data`,
- and in the UI, just change the default directory to `/data`.
