logo
docker.io/syncthing/syncthing:2.1.2
linux/amd64 docker.io

Syncthing

Syncthing是一个开源的文件同步工具,用于将数据从一个设备同步到另一个设备。

15
浏览次数
41.53MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2
源镜像
docker.io/syncthing/syncthing:2.1.2
镜像ID
sha256:62cee511289c3fcbaec0d0eaf1be0d24cfc329f641a6ab38d843bf9128f632f8
镜像 TAG
2.1.2
镜像大小
41.53MB
平台架构
linux/amd64
镜像源
docker.io
CMD
启动入口
/bin/entrypoint.sh /bin/syncthing
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-07-08T13:35:02.414710834Z
同步时间
2026-08-15 09:54
浏览量
15 次
贡献者
🔌 开放端口 4
21027/udp 22000/tcp 22000/udp 8384/tcp
📁 目录挂载 1
 /var/syncthing
⚙️ 环境变量 6
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
PUID=1000 1
PGID=1000 2
HOME=/var/syncthing 3
STGUIADDRESS=0.0.0.0:8384 4
STHOMEDIR=/var/syncthing/config 5
🏷️ 镜像标签 9
KeyValue
The Syncthing Project org.opencontainers.image.authors
https://docs.syncthing.net org.opencontainers.image.documentation
MPL-2.0 org.opencontainers.image.licenses
44cbfcad56db30ccccdbbab40124fc498ee354db org.opencontainers.image.revision
https://github.com/syncthing/syncthing org.opencontainers.image.source
Syncthing org.opencontainers.image.title
https://syncthing.net org.opencontainers.image.url
The Syncthing Project org.opencontainers.image.vendor
v2.1.2 org.opencontainers.image.version
🛡️ 镜像安全扫描
alpine 3.24.1 Trivy 2026-08-15 09:54 查看完整报告
1
低危 LOW
2
中危 MEDIUM
5
高危 HIGH
0
严重 CRITICAL
受影响目标 (2)
docker.io/syncthing/syncthing:2.1.2 (alpine 3.24.1) alpine bin/syncthing gobinary

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2  docker.io/syncthing/syncthing:2.1.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2  docker.io/syncthing/syncthing:2.1.2

Shell快速替换命令

sed -i 's#syncthing/syncthing:2.1.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2  docker.io/syncthing/syncthing:2.1.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2  docker.io/syncthing/syncthing:2.1.2'

镜像构建历史


# 2026-07-08 21:35:02  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/entrypoint.sh" "/bin/syncthing"]
                        
# 2026-07-08 21:35:02  0.00B 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c chmod 755 /bin/entrypoint.sh # buildkit
                        
# 2026-07-08 21:35:02  0.00B 设置环境变量 STHOMEDIR
ENV STHOMEDIR=/var/syncthing/config
                        
# 2026-07-08 21:35:02  0.00B 设置环境变量 STGUIADDRESS
ENV STGUIADDRESS=0.0.0.0:8384
                        
# 2026-07-08 21:35:02  0.00B 指定检查容器健康状态的命令
HEALTHCHECK {Test:[CMD-SHELL curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1] Interval:1m0s Timeout:10s StartPeriod:0s StartInterval:0s Retries:0}
                        
# 2026-07-08 21:35:02  0.00B 设置环境变量 PUID PGID HOME
ENV PUID=1000 PGID=1000 HOME=/var/syncthing
                        
# 2026-07-08 21:35:02  737.00B 复制新文件或目录到容器中
COPY /src/script/docker-entrypoint.sh /bin/entrypoint.sh # buildkit
                        
# 2026-07-08 21:35:02  26.77MB 复制新文件或目录到容器中
COPY /src/syncthing-linux-amd64 /bin/syncthing # buildkit
                        
# 2026-07-08 21:34:45  6.34MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apk add --no-cache ca-certificates curl libcap su-exec tzdata # buildkit
                        
# 2026-07-08 21:34:45  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/syncthing]
                        
# 2026-07-08 21:34:45  0.00B 声明容器运行时监听的端口
EXPOSE [21027/udp 22000/tcp 22000/udp 8384/tcp]
                        
# 2026-07-08 21:34:45  0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=The Syncthing Project org.opencontainers.image.url=https://syncthing.net org.opencontainers.image.documentation=https://docs.syncthing.net org.opencontainers.image.source=https://github.com/syncthing/syncthing org.opencontainers.image.vendor=The Syncthing Project org.opencontainers.image.licenses=MPL-2.0 org.opencontainers.image.title=Syncthing
                        
# 2026-07-08 21:34:45  0.00B 定义构建参数
ARG TARGETARCH=amd64
                        
# 2026-06-16 08:01:29  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2026-06-16 08:01:29  8.42MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:62cee511289c3fcbaec0d0eaf1be0d24cfc329f641a6ab38d843bf9128f632f8",
    "RepoTags": [
        "syncthing/syncthing:2.1.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing:2.1.2"
    ],
    "RepoDigests": [
        "syncthing/syncthing@sha256:4464f4161dd0251e20d46bb3aec83363db75d80cef1abdd5d5fd4054b04a004d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/syncthing/syncthing@sha256:d78f0b285076d079727be61ee6e318457903782934672fb7d022312f255eabee"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-08T13:35:02.414710834Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "21027/udp": {},
            "22000/tcp": {},
            "22000/udp": {},
            "8384/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PUID=1000",
            "PGID=1000",
            "HOME=/var/syncthing",
            "STGUIADDRESS=0.0.0.0:8384",
            "STHOMEDIR=/var/syncthing/config"
        ],
        "Cmd": null,
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1"
            ],
            "Interval": 60000000000,
            "Timeout": 10000000000
        },
        "Image": "",
        "Volumes": {
            "/var/syncthing": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/bin/entrypoint.sh",
            "/bin/syncthing"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.authors": "The Syncthing Project",
            "org.opencontainers.image.documentation": "https://docs.syncthing.net",
            "org.opencontainers.image.licenses": "MPL-2.0",
            "org.opencontainers.image.revision": "44cbfcad56db30ccccdbbab40124fc498ee354db",
            "org.opencontainers.image.source": "https://github.com/syncthing/syncthing",
            "org.opencontainers.image.title": "Syncthing",
            "org.opencontainers.image.url": "https://syncthing.net",
            "org.opencontainers.image.vendor": "The Syncthing Project",
            "org.opencontainers.image.version": "v2.1.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 41525717,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c98571aee903805e60ec469a4f398c8a6ace136c4f17d6b09f964b6085c23381/diff:/var/lib/docker/overlay2/7502115d6bea56a7843a19f095f7044f005954e3cc3a71325d80e67e20ae5dc0/diff:/var/lib/docker/overlay2/56736b18831ca315c9d2e6183925cb38745e2e2d192a5d2a02aee5120272302d/diff:/var/lib/docker/overlay2/d51bd9f442769618005c9be653661c047116bf4ebe32b04db2ad4ca7bebb792d/diff",
            "MergedDir": "/var/lib/docker/overlay2/e2ce54b4375533178884a3bfecf8a8bada001e3c24274114e018741517fdffec/merged",
            "UpperDir": "/var/lib/docker/overlay2/e2ce54b4375533178884a3bfecf8a8bada001e3c24274114e018741517fdffec/diff",
            "WorkDir": "/var/lib/docker/overlay2/e2ce54b4375533178884a3bfecf8a8bada001e3c24274114e018741517fdffec/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:34884abbe92863fce933ed7c39c0e045631af0ed86d5cc0dfbdf9fdca426ce3c",
            "sha256:568eaf1bacb20869ecd819cc1dad6583a17cfc302c375b32126134fd43d7d48e",
            "sha256:a70ed5dad01e01e141fd9b717b11e23e77cb0a6e435c7837ccc8afba8e4783b0",
            "sha256:4f6122f47c88e9f11db42f39cf9cb850743da04b2b074b73dc7b2da1e9547c00",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-15T09:54:05.337293592+08:00"
    }
}

更多版本

docker.io/syncthing/syncthing:1.27.10

linux/amd64 docker.io40.36MB2024-09-02 22:15
637

docker.io/syncthing/syncthing:1.27

linux/amd64 docker.io40.26MB2024-10-16 14:35
606

docker.io/syncthing/syncthing:1.28.0

linux/amd64 docker.io41.18MB2024-11-07 15:19
606

docker.io/syncthing/syncthing:1.28.1

linux/amd64 docker.io41.20MB2024-12-18 20:19
412

docker.io/syncthing/syncthing:1.29.3

linux/amd64 docker.io40.25MB2025-03-23 00:01
430

docker.io/syncthing/syncthing:v2

linux/amd64 docker.io48.94MB2025-04-15 08:44
672

docker.io/syncthing/syncthing:1.30

linux/amd64 docker.io41.09MB2025-07-20 19:30
362

docker.io/syncthing/syncthing:2

linux/arm64 docker.io49.48MB2025-08-12 16:10
375

docker.io/syncthing/syncthing:latest

linux/arm64 docker.io49.35MB2025-08-29 17:35
413

docker.io/syncthing/syncthing:2.0.3

linux/amd64 docker.io49.93MB2025-09-02 02:36
283

docker.io/syncthing/syncthing:2.0.3

linux/arm64 docker.io49.35MB2025-09-02 14:25
266

docker.io/syncthing/syncthing:2.0.8

linux/arm64 docker.io49.38MB2025-09-09 13:32
331

docker.io/syncthing/syncthing:2.0.8

linux/amd64 docker.io49.97MB2025-09-09 14:31
336

docker.io/syncthing/syncthing:latest

linux/amd64 docker.io50.25MB2025-12-09 19:36
293

docker.io/syncthing/syncthing:2.1.0

linux/amd64 docker.io41.78MB2026-05-27 17:16
140

docker.io/syncthing/syncthing:2.1.1

linux/amd64 docker.io41.62MB2026-06-09 11:55
146

docker.io/syncthing/syncthing:2.1.2

linux/amd64 docker.io41.53MB2026-08-15 09:54
14
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×