docker create
--name=syncthing
--hostname=syncthing #optional
-e PUID=1000
-e PGID=1000
-e TZ=Asia/Shanghai
-p 8388:8384
-p 22000:22000
-p 21027:21027/udp
-v /work/syncthing/config:/config
--restart always
megatontech/syncthing
PUID PGID 需要与linux系统一致,使用id命令即可查询,比如n1盒子查询结果是0,ubuntu是1000,mount目录要选好磁盘
Content type
Image
Digest
sha256:e2a76cf13…
Size
19.4 MB
Last updated
almost 4 years ago
docker pull megatontech/syncthing