You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
109
-
```
109
+
110
+
```bash
110
111
docker run --rm --privileged multiarch/qemu-user-static:register --reset
111
112
```
112
113
113
114
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
114
115
115
-
## Update the chagelog
116
+
## Update the changelog
116
117
117
118
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-syncthing/tree/master/root), add an entry to the changelog
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
14
14
15
-
* regular and timely application updates
16
-
* easy user mappings (PGID, PUID)
17
-
* custom base image with s6 overlay
18
-
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
-
* regular security updates
15
+
* regular and timely application updates
16
+
* easy user mappings (PGID, PUID)
17
+
* custom base image with s6 overlay
18
+
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
+
* regular security updates
20
20
21
21
Find us at:
22
+
22
23
*[Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
23
24
*[Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
24
25
*[Discourse](https://discourse.linuxserver.io) - post on our community forum.
@@ -56,6 +57,9 @@ The architectures supported by this image are:
56
57
| arm64 | arm64v8-latest |
57
58
| armhf | arm32v7-latest |
58
59
60
+
## Application Setup
61
+
62
+
**Note: ** The Syncthing devs highly suggest setting a password for this container as it listens on 0.0.0.0. To do this go to `Actions -> Settings -> set user/password` for the webUI.
59
63
60
64
## Usage
61
65
@@ -90,7 +94,7 @@ services:
90
94
91
95
### docker cli
92
96
93
-
```
97
+
```bash
94
98
docker run -d \
95
99
--name=syncthing \
96
100
--hostname=syncthing `#optional` \
@@ -107,7 +111,6 @@ docker run -d \
107
111
ghcr.io/linuxserver/syncthing
108
112
```
109
113
110
-
111
114
## Parameters
112
115
113
116
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
@@ -131,7 +134,7 @@ You can set any environment variable from a file by using a special prepend `FIL
131
134
132
135
As an example:
133
136
134
-
```
137
+
```bash
135
138
-e FILE__PASSWORD=/run/secrets/mysecretpassword
136
139
```
137
140
@@ -150,23 +153,17 @@ Ensure any volume directories on the host are owned by the same user you specify
150
153
151
154
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
**Note: ** The Syncthing devs highly suggest setting a password for this container as it listens on 0.0.0.0. To do this go to `Actions -> Settings -> set user/password` for the webUI.
163
-
164
161
## Docker Mods
162
+
165
163
[](https://mods.linuxserver.io/?mod=syncthing"view available mods for this container.")[](https://mods.linuxserver.io/?mod=universal"view available universal mods.")
166
164
167
165
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
168
166
169
-
170
167
## Support Info
171
168
172
169
* Shell access whilst the container is running: `docker exec -it syncthing /bin/bash`
@@ -183,38 +180,45 @@ Most of our images are static, versioned, and require an image update and contai
183
180
Below are the instructions for updating containers:
184
181
185
182
### Via Docker Compose
183
+
186
184
* Update all images: `docker-compose pull`
187
185
* or update a single image: `docker-compose pull syncthing`
188
186
* Let compose update all containers as necessary: `docker-compose up -d`
189
187
* or update a single container: `docker-compose up -d syncthing`
190
188
* You can also remove the old dangling images: `docker image prune`
191
189
192
190
### Via Docker Run
191
+
193
192
* Update the image: `docker pull ghcr.io/linuxserver/syncthing`
194
193
* Stop the running container: `docker stop syncthing`
195
194
* Delete the container: `docker rm syncthing`
196
195
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
197
196
* You can also remove the old dangling images: `docker image prune`
198
197
199
198
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
199
+
200
200
* Pull the latest image at its tag and replace it with the same env variables in one run:
201
-
```
201
+
202
+
```bash
202
203
docker run --rm \
203
204
-v /var/run/docker.sock:/var/run/docker.sock \
204
205
containrrr/watchtower \
205
206
--run-once syncthing
206
207
```
208
+
207
209
* You can also remove the old dangling images: `docker image prune`
208
210
209
211
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
213
216
214
217
## Building locally
215
218
216
219
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments