logo
docker.io/linuxserver/wireguard:1.0.20260223
linux/amd64 docker.io 已验证 · linuxserver JadeLiu 贡献

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

13
浏览次数
122.30MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20260223
源镜像
docker.io/linuxserver/wireguard:1.0.20260223
镜像ID
sha256:95e68c55b1875588a0571b5758eb721d79ae8c504905c7892d2fa6fb3493f4a5
镜像 TAG
1.0.20260223
镜像大小
122.30MB
平台架构
linux/amd64
镜像源
docker.io
CMD
启动入口
/init
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-11-26T20:08:39.268870749Z
同步时间
2026-12-01 01:45
浏览量
13 次
贡献者
avatar JadeLiu
🔌 开放端口 1
51820/udp
⚙️ 环境变量 9
KeyValue
PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
PS1=$(whoami)@$(hostname):$(pwd)\$ 1
HOME=/root 2
TERM=xterm 3
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 4
S6_VERBOSITY=1 5
S6_STAGE2_HOOK=/docker-mods 6
VIRTUAL_ENV=/lsiopy 7
LSIO_FIRST_PARTY=true 8
🏷️ 镜像标签 14
KeyValue
Linuxserver.io version:- 1.0.20260223-r0-ls131 Build-date:- 2026-11-26T20:07:27+00:00 build_version
thespad maintainer
linuxserver.io org.opencontainers.image.authors
2026-11-26T20:07:27+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
c20ed13e401d49319287c15e203027623ddfede8 org.opencontainers.image.ref.name
c20ed13e401d49319287c15e203027623ddfede8 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.20260223-r0-ls131 org.opencontainers.image.version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#linuxserver/wireguard:1.0.20260223#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20260223#' 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.20260223 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20260223  docker.io/linuxserver/wireguard:1.0.20260223'

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-11-27 04:08:39  0.00B 声明容器运行时监听的端口
EXPOSE 51820/udp
                        
# 2026-11-27 04:08:39  13.62KB 复制新文件或目录到容器中
COPY /root / # buildkit
                        
# 2026-11-27 04:08:39  94.08MB 执行命令并创建新的镜像层
RUN |3 BUILD_DATE=2026-11-26T20:07:27+00:00 VERSION=1.0.20260223-r0-ls131 WIREGUARD_RELEASE=1.0.20260223-r0 /bin/sh -c if [ -z "${WIREGUARD_RELEASE+x}" ]; then   WIREGUARD_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.24/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 &&   rm -rf /etc/wireguard &&   ln -s /config/wg_confs /etc/wireguard &&   cp /usr/bin/wg-quick /usr/local/bin/wg-quick &&   printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version &&   echo "**** clean up ****" &&   rm -rf     /tmp/* # buildkit
                        
# 2026-11-27 04:08:39  0.00B 添加元数据标签
LABEL maintainer=thespad
                        
# 2026-11-27 04:08:39  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- 1.0.20260223-r0-ls131 Build-date:- 2026-11-26T20:07:27+00:00
                        
# 2026-11-27 04:08:39  0.00B 定义构建参数
ARG WIREGUARD_RELEASE=1.0.20260223-r0
                        
# 2026-11-27 04:08:39  0.00B 定义构建参数
ARG VERSION=1.0.20260223-r0-ls131
                        
# 2026-11-27 04:08:39  0.00B 定义构建参数
ARG BUILD_DATE=2026-11-26T20:07:27+00:00
                        
# 2026-11-27 04:08:39  0.00B 设置环境变量 LSIO_FIRST_PARTY
ENV LSIO_FIRST_PARTY=true
                        
# 2026-11-20 17:24:13  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/init"]
                        
# 2026-11-20 17:24:13  9.42KB 复制新文件或目录到容器中
COPY root/ / # buildkit
                        
# 2026-11-20 17:24:13  14.42MB 执行命令并创建新的镜像层
RUN |6 BUILD_DATE=2026-11-20T09:22:45+00:00 VERSION=12e32735-ls19 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-11-20 17:24:12  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-11-20 17:24:12  478.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit
                        
# 2026-11-20 17:24:12  945.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
                        
# 2026-11-20 17:24:12  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-11-20 17:24:12  31.19KB 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
                        
# 2026-11-20 17:24:12  0.00B 添加元数据标签
LABEL maintainer=TheLamer
                        
# 2026-11-20 17:24:12  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- 12e32735-ls19 Build-date:- 2026-11-20T09:22:45+00:00
                        
# 2026-11-20 17:24:12  0.00B 定义构建参数
ARG WITHCONTENV_VERSION=v1
                        
# 2026-11-20 17:24:12  0.00B 定义构建参数
ARG LSIOWN_VERSION=v1
                        
# 2026-11-20 17:24:12  0.00B 定义构建参数
ARG PKG_INST_VERSION=v1
                        
# 2026-11-20 17:24:12  0.00B 定义构建参数
ARG MODS_VERSION=v3
                        
# 2026-11-20 17:24:12  0.00B 定义构建参数
ARG VERSION=12e32735-ls19
                        
# 2026-11-20 17:24:12  0.00B 定义构建参数
ARG BUILD_DATE=2026-11-20T09:22:45+00:00
                        
# 2026-11-20 17:24:12  13.74MB 复制新文件或目录到容器中
COPY /root-out/ / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:95e68c55b1875588a0571b5758eb721d79ae8c504905c7892d2fa6fb3493f4a5",
    "RepoTags": [
        "linuxserver/wireguard:1.0.20260223",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:1.0.20260223"
    ],
    "RepoDigests": [
        "linuxserver/wireguard@sha256:30fcd4e2d5793935e3e3d913e3e874ecee27bc2bf01b2cb824a5cb01e02a1043",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard@sha256:b9363fe153d85ce6e8ff7f69984f11f1d22bcf44591e6d353ae6e52dd15ed8e7"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-11-26T20:08:39.268870749Z",
    "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.20260223-r0-ls131 Build-date:- 2026-11-26T20:07:27+00:00",
            "maintainer": "thespad",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2026-11-26T20:07:27+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": "c20ed13e401d49319287c15e203027623ddfede8",
            "org.opencontainers.image.revision": "c20ed13e401d49319287c15e203027623ddfede8",
            "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.20260223-r0-ls131"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 122298543,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fcc8c6c4d1287224fe5b3ee033201114c9e0b123e7cb4fda8aa8761fcc02db3e/diff:/var/lib/docker/overlay2/9c6d97ec0b47bf5a21dca9a7072e709abf9307b35ae17fb577d27a3e085543a4/diff:/var/lib/docker/overlay2/0c177c4fd51da75e0c78b2f3af3f377e944cf2726ce975cf75e8247d32a06720/diff:/var/lib/docker/overlay2/3172ae322c6746128e01937cad32c4d35cab3439278a0ae12edd18a38f2fb527/diff:/var/lib/docker/overlay2/1cff80e1d9a997e7afd744d74124d70218581f44c1b37c941ee68ff30fea238d/diff:/var/lib/docker/overlay2/f575fb45db2378b17b669210cf2150abcb2ee51599ec69b5bb5bce88f522059a/diff:/var/lib/docker/overlay2/be16dc5aeb76857eeec706662400d87ee636fd32c0a8d14038321667ede52f03/diff:/var/lib/docker/overlay2/d098849b8ee010de5910a742597d385953fadcd69b4cef5c0677a6f175de26fe/diff",
            "MergedDir": "/var/lib/docker/overlay2/42f6535adc579b7ac5800c75714f6f361b94f7b56ffee1f114ff7dbabc9991a5/merged",
            "UpperDir": "/var/lib/docker/overlay2/42f6535adc579b7ac5800c75714f6f361b94f7b56ffee1f114ff7dbabc9991a5/diff",
            "WorkDir": "/var/lib/docker/overlay2/42f6535adc579b7ac5800c75714f6f361b94f7b56ffee1f114ff7dbabc9991a5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:da3dd5b0a8bb43f60854995cf102569a835530834acab01e10787c787fb53c7c",
            "sha256:4237b4abe0c583f84633de1da55c1e716dbf60660634932965955c149a90929c",
            "sha256:8d7d77dc54f16d623d5e9f141dffdaf507357dc65bd448797d9d594f77c629d0",
            "sha256:51a496b616a9cee9ce3eb4b95b3f9ccb3a25771e0d9c10c4702bd7168a453e4d",
            "sha256:c3caeb7db87891ae49750d0e37d3428a0dfe476737ccced257773d7aeab62144",
            "sha256:25cc8228ebd91cd5986d059c990c80680f8df805ac7fb81432f978a9e89b23de",
            "sha256:156731f441c418bee518e18330a4ba319e2e638f1ec498e4cd9623ec975aad17",
            "sha256:5ded0b5045beb26a02d6700b29ab0ef7d3a07f1b15e4117e931d965394f51a17",
            "sha256:f8032e60d962926f9f84accde87f7cdd42f2fba030a3cdd576ed085f8acf9308"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-12-01T01:45:09.167109035+08:00"
    }
}

更多版本

docker.io/linuxserver/wireguard:1.0.20250521

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

docker.io/linuxserver/wireguard:1.0.20250521

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

docker.io/linuxserver/wireguard:1.0.20260223

linux/amd64 docker.io122.30MB2026-12-01 01:45
12

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

linux/amd64 docker.io141.99MB2025-07-26 11:41
640
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×