# v2: Docker host network mode as default

**URL:** https://forum.syncthing.net/t/v2-docker-host-network-mode-as-default/24515
**Category:** Development
**Created:** [June 20, 2025, 8:34am UTC](https://forum.syncthing.net/t/v2-docker-host-network-mode-as-default/24515 "2025-06-20T08:34:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bt90](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bt90/32/18565_2.png) [@bt90](https://forum.syncthing.net/u/bt90)
#### Post date: [June 20, 2025, 8:34am UTC](https://forum.syncthing.net/t/v2-docker-host-network-mode-as-default/24515/1 "2025-06-20T08:34:38Z")

</div>

This is more of a documentation thing if anything and not strictly tied to v2. But people will have a closer look at their deployments with v2 and I hope we can guide some of them towards a better setup.

We already have a documentation section that covers the host networking mode and how it improves discovery:

> <https://github.com/syncthing/syncthing/blob/main/README-Docker.md#discovery>

Can we just adapt our CLI and Compose examples in the top section to also use host network mode by default? Most people tend to simply copy&paste the very first Compose bits and end up with a setup which breaks local IP discovery.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [June 20, 2025, 8:49am UTC](https://forum.syncthing.net/t/v2-docker-host-network-mode-as-default/24515/2 "2025-06-20T08:49:57Z")

</div>

Go for it
