docker.io/linuxserver/wireguard:1.0.20250521 linux/amd64

docker.io/linuxserver/wireguard:1.0.20250521 - 国内下载镜像源 浏览次数:10 安全受验证的发布者-linuxserver

这是一个基于LinuxServer.io维护的WireGuard VPN服务器镜像。它提供了一个方便易用的方式来运行WireGuard VPN服务器,无需手动配置复杂的网络设置。该镜像包含了WireGuard所需的所有依赖项,并预先配置好了常用的设置,方便用户快速部署。

源镜像 docker.io/linuxserver/wireguard:1.0.20250521
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20250521
镜像ID sha256:5e850c7b2e18743e9ef81bcfe82a62c177f1b7028f7e2c88f603d5dddc2df547
镜像TAG 1.0.20250521
大小 118.87MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /init
工作目录 /
OS/平台 linux/amd64
浏览量 10 次
贡献者
镜像创建 2026-02-12T11:57:42.979332943Z
同步时间 2026-02-24 15:38
开放端口
51820/udp
环境变量
PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy LSIO_FIRST_PARTY=true
镜像标签
Linuxserver.io version:- 1.0.20250521-r1-ls102 Build-date:- 2026-02-12T11:56:18+00:00: build_version thespad: maintainer linuxserver.io: org.opencontainers.image.authors 2026-02-12T11:56:18+00:00: org.opencontainers.image.created [WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.: org.opencontainers.image.description https://docs.linuxserver.io/images/docker-wireguard: org.opencontainers.image.documentation GPL-3.0-only: org.opencontainers.image.licenses 5091fe41aca90e645f5b578f8adb7e65ca13714c: org.opencontainers.image.ref.name 5091fe41aca90e645f5b578f8adb7e65ca13714c: org.opencontainers.image.revision https://github.com/linuxserver/docker-wireguard: org.opencontainers.image.source Wireguard: org.opencontainers.image.title https://github.com/linuxserver/docker-wireguard/packages: org.opencontainers.image.url linuxserver.io: org.opencontainers.image.vendor 1.0.20250521-r1-ls102: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20250521
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20250521  docker.io/linuxserver/wireguard:1.0.20250521

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20250521
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20250521  docker.io/linuxserver/wireguard:1.0.20250521

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-02-12 19:57:42  0.00B 声明容器运行时监听的端口
EXPOSE [51820/udp]
                        
# 2026-02-12 19:57:42  13.62KB 复制新文件或目录到容器中
COPY /root / # buildkit
                        
# 2026-02-12 19:57:42  90.55MB 执行命令并创建新的镜像层
RUN |3 BUILD_DATE=2026-02-12T11:56:18+00:00 VERSION=1.0.20250521-r1-ls102 WIREGUARD_RELEASE=1.0.20250521-r1 /bin/sh -c if [ -z "${WIREGUARD_RELEASE+x}" ]; then   WIREGUARD_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp     && awk '/^P:wireguard-tools$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://');   fi &&   echo "**** install dependencies ****" &&   apk add --no-cache     bc     coredns     grep     iproute2     iptables     ip6tables     iputils     kmod     libcap-utils     libqrencode-tools     net-tools     nftables     openresolv     wireguard-tools==${WIREGUARD_RELEASE} &&   echo "wireguard" >> /etc/modules &&   sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' /usr/bin/wg-quick &&   rm -rf /etc/wireguard &&   ln -s /config/wg_confs /etc/wireguard &&   printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version &&   echo "**** clean up ****" &&   rm -rf     /tmp/* # buildkit
                        
# 2026-02-12 19:57:42  0.00B 添加元数据标签
LABEL maintainer=thespad
                        
# 2026-02-12 19:57:42  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- 1.0.20250521-r1-ls102 Build-date:- 2026-02-12T11:56:18+00:00
                        
# 2026-02-12 19:57:42  0.00B 定义构建参数
ARG WIREGUARD_RELEASE=1.0.20250521-r1
                        
# 2026-02-12 19:57:42  0.00B 定义构建参数
ARG VERSION=1.0.20250521-r1-ls102
                        
# 2026-02-12 19:57:42  0.00B 定义构建参数
ARG BUILD_DATE=2026-02-12T11:56:18+00:00
                        
# 2026-02-12 19:57:42  0.00B 设置环境变量 LSIO_FIRST_PARTY
ENV LSIO_FIRST_PARTY=true
                        
# 2026-02-07 21:57:44  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/init"]
                        
# 2026-02-07 21:57:44  9.42KB 复制新文件或目录到容器中
COPY root/ / # buildkit
                        
# 2026-02-07 21:57:44  14.51MB 执行命令并创建新的镜像层
RUN |6 BUILD_DATE=2026-02-07T13:56:36+00:00 VERSION=a4f50684-ls6 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" &&   apk add --no-cache     alpine-release     bash     ca-certificates     catatonit     coreutils     curl     findutils     jq     netcat-openbsd     procps-ng     shadow     tzdata &&   echo "**** create abc user and make our folders ****" &&   groupmod -g 1000 users &&   useradd -u 911 -U -d /config -s /bin/false abc &&   usermod -G users abc &&   mkdir -p     /app     /config     /defaults     /lsiopy &&   echo "**** cleanup ****" &&   rm -rf     /tmp/* # buildkit
                        
# 2026-02-07 21:57:43  0.00B 设置环境变量 PS1 HOME TERM S6_CMD_WAIT_FOR_SERVICES_MAXTIME S6_VERBOSITY S6_STAGE2_HOOK VIRTUAL_ENV PATH
ENV PS1=$(whoami)@$(hostname):$(pwd)\$  HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2026-02-07 21:57:43  478.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit
                        
# 2026-02-07 21:57:43  945.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
                        
# 2026-02-07 21:57:43  4.18KB 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit
                        
# 2026-02-07 21:57:43  31.19KB 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
                        
# 2026-02-07 21:57:43  0.00B 添加元数据标签
LABEL maintainer=TheLamer
                        
# 2026-02-07 21:57:43  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- a4f50684-ls6 Build-date:- 2026-02-07T13:56:36+00:00
                        
# 2026-02-07 21:57:43  0.00B 定义构建参数
ARG WITHCONTENV_VERSION=v1
                        
# 2026-02-07 21:57:43  0.00B 定义构建参数
ARG LSIOWN_VERSION=v1
                        
# 2026-02-07 21:57:43  0.00B 定义构建参数
ARG PKG_INST_VERSION=v1
                        
# 2026-02-07 21:57:43  0.00B 定义构建参数
ARG MODS_VERSION=v3
                        
# 2026-02-07 21:57:43  0.00B 定义构建参数
ARG VERSION=a4f50684-ls6
                        
# 2026-02-07 21:57:43  0.00B 定义构建参数
ARG BUILD_DATE=2026-02-07T13:56:36+00:00
                        
# 2026-02-07 21:57:43  13.75MB 复制新文件或目录到容器中
COPY /root-out/ / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:5e850c7b2e18743e9ef81bcfe82a62c177f1b7028f7e2c88f603d5dddc2df547",
    "RepoTags": [
        "linuxserver/wireguard:1.0.20250521",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20250521"
    ],
    "RepoDigests": [
        "linuxserver/wireguard@sha256:72a3c0b6eb67bcecf0138092a7a66220c081246083c7f1e0d078c186560e745b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard@sha256:910da52237effaac4b41d0d3053f9c578b2d0b090d9908f1fa6c8fcd6440ae52"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-02-12T11:57:42.979332943Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "51820/udp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PS1=$(whoami)@$(hostname):$(pwd)\\$ ",
            "HOME=/root",
            "TERM=xterm",
            "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
            "S6_VERBOSITY=1",
            "S6_STAGE2_HOOK=/docker-mods",
            "VIRTUAL_ENV=/lsiopy",
            "LSIO_FIRST_PARTY=true"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/init"
        ],
        "OnBuild": null,
        "Labels": {
            "build_version": "Linuxserver.io version:- 1.0.20250521-r1-ls102 Build-date:- 2026-02-12T11:56:18+00:00",
            "maintainer": "thespad",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2026-02-12T11:56:18+00:00",
            "org.opencontainers.image.description": "[WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.",
            "org.opencontainers.image.documentation": "https://docs.linuxserver.io/images/docker-wireguard",
            "org.opencontainers.image.licenses": "GPL-3.0-only",
            "org.opencontainers.image.ref.name": "5091fe41aca90e645f5b578f8adb7e65ca13714c",
            "org.opencontainers.image.revision": "5091fe41aca90e645f5b578f8adb7e65ca13714c",
            "org.opencontainers.image.source": "https://github.com/linuxserver/docker-wireguard",
            "org.opencontainers.image.title": "Wireguard",
            "org.opencontainers.image.url": "https://github.com/linuxserver/docker-wireguard/packages",
            "org.opencontainers.image.vendor": "linuxserver.io",
            "org.opencontainers.image.version": "1.0.20250521-r1-ls102"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 118866183,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6066c0506942ef50f322d33b490161821840d5b0d848948f4fbe84853cb8a6f1/diff:/var/lib/docker/overlay2/8b09cfaf20ead6d781a38e014e9c13489d87f21631c818798669fd0bf5431c45/diff:/var/lib/docker/overlay2/40651d82c9c56d05a913b1a0d9da0ce7e63c8f58b773e68a5915f61d80a76d30/diff:/var/lib/docker/overlay2/bc0067fb536aa65e960b244fcddc209a7c9b6c30da38f4525140b6937d724494/diff:/var/lib/docker/overlay2/1a684611c1fe358fa53239ce558b6e1c712d5d33262456448fb463cd0491e008/diff:/var/lib/docker/overlay2/fbb81fff8efdb08df368176c15882ea519fd7ddc8d544a858f23478a7bce6e0b/diff:/var/lib/docker/overlay2/021186e96bc330b78e29901581b874b5202605fe67b4b6581dcd75fd5d81caef/diff:/var/lib/docker/overlay2/0e9e4e6414b7a5f5052044c646f7fdf78ae96299266f95432f549e26487a783b/diff",
            "MergedDir": "/var/lib/docker/overlay2/8738d3e0a778e3a6fd2a10381853298d213e3fcf3f1398b45c5d224c6506d468/merged",
            "UpperDir": "/var/lib/docker/overlay2/8738d3e0a778e3a6fd2a10381853298d213e3fcf3f1398b45c5d224c6506d468/diff",
            "WorkDir": "/var/lib/docker/overlay2/8738d3e0a778e3a6fd2a10381853298d213e3fcf3f1398b45c5d224c6506d468/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5f9c3a7f04a25300c1981ded47fd8405dce921334cce76e3b6a09a8635e0836e",
            "sha256:4237b4abe0c583f84633de1da55c1e716dbf60660634932965955c149a90929c",
            "sha256:1bb7ad3fa35f571c211ac5320d0c6f290a74246a742d312e995fa9ddc2732dd8",
            "sha256:709bf73e0f749be90e8032c6695f0f98313e9b62042e486d08372830a28e8c1d",
            "sha256:8c9176f28ed504db319e01290f0399044abe0edf4960835c728a9c0e2f5a4922",
            "sha256:c629bd992b88bc3beba069588d85e11ebc98f269f38638d006b3e6f21a4dc3ed",
            "sha256:615fb83a80c108e3b7c120e51b86310d0f1f302086667a621d4c410736b195ba",
            "sha256:56d53dd926efe3286ac1524ec0011d177205670f8bec0a5741dd4a2d99774907",
            "sha256:8a8c6df22cb1e774be01357fd87dd340d3d47060251015a112928a425208f0d7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-02-24T15:37:56.776565206+08:00"
    }
}

更多版本

docker.io/linuxserver/wireguard:v1.0.20210914-ls7

linux/amd64 docker.io141.99MB2025-07-26 11:41
337

docker.io/linuxserver/wireguard:1.0.20250521

linux/amd64 docker.io118.87MB2026-02-24 15:38
9

docker.io/linuxserver/wireguard:1.0.20250521

linux/arm64 docker.io135.58MB2026-02-24 15:39
9