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

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

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

源镜像 docker.io/linuxserver/wireguard:v1.0.20210914-ls7
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:v1.0.20210914-ls7
镜像ID sha256:783785b967b684ccb3134d6b86faea1d7d2c8e1653811e2349ec3289513677d7
镜像TAG v1.0.20210914-ls7
大小 141.99MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /init
工作目录 /
OS/平台 linux/amd64
浏览量 9 次
贡献者
镜像创建 2023-10-05T11:22:17.108278356Z
同步时间 2025-07-26 11:41
更新时间 2025-07-27 11:14
开放端口
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:- v1.0.20210914-ls7 Build-date:- 2023-10-05T11:20:07+00:00: build_version thespad: maintainer linuxserver.io: org.opencontainers.image.authors 2023-10-05T11:20:07+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 2198ae40907cb5a18b20afc3c58410f016df5cd8: org.opencontainers.image.ref.name 2198ae40907cb5a18b20afc3c58410f016df5cd8: 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 v1.0.20210914-ls7: org.opencontainers.image.version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-10-05 19:22:17  0.00B 声明容器运行时监听的端口
EXPOSE map[51820/udp:{}]
                        
# 2023-10-05 19:22:17  11.45KB 复制新文件或目录到容器中
COPY /root / # buildkit
                        
# 2023-10-05 19:22:17  116.47MB 执行命令并创建新的镜像层
RUN |3 BUILD_DATE=2023-10-05T11:20:07+00:00 VERSION=v1.0.20210914-ls7 WIREGUARD_RELEASE= /bin/sh -c echo "**** install dependencies ****" &&   apk add --no-cache --virtual=build-dependencies     build-base     elfutils-dev     gcc     git     linux-headers &&   apk add --no-cache     bc     coredns     gnupg     grep     iproute2     iptables     ip6tables     iputils     libcap-utils     libqrencode     net-tools     openresolv     perl &&   echo "wireguard" >> /etc/modules &&   echo "**** install wireguard-tools ****" &&   if [ -z ${WIREGUARD_RELEASE+x} ]; then     WIREGUARD_RELEASE=$(curl -sX GET "https://api.github.com/repos/WireGuard/wireguard-tools/tags"     | jq -r .[0].name);   fi &&   cd /app &&   git clone https://git.zx2c4.com/wireguard-tools &&   cd wireguard-tools &&   git checkout "${WIREGUARD_RELEASE}" &&   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|' src/wg-quick/linux.bash &&   make -C src -j$(nproc) &&   make -C src install &&   echo "**** clean up ****" &&   apk del --no-network build-dependencies &&   rm -rf     /tmp/* # buildkit
                        
# 2023-10-05 19:22:17  0.00B 添加元数据标签
LABEL maintainer=thespad
                        
# 2023-10-05 19:22:17  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- v1.0.20210914-ls7 Build-date:- 2023-10-05T11:20:07+00:00
                        
# 2023-10-05 19:22:17  0.00B 定义构建参数
ARG WIREGUARD_RELEASE
                        
# 2023-10-05 19:22:17  0.00B 定义构建参数
ARG VERSION
                        
# 2023-10-05 19:22:17  0.00B 定义构建参数
ARG BUILD_DATE
                        
# 2023-10-05 19:22:17  0.00B 设置环境变量 LSIO_FIRST_PARTY
ENV LSIO_FIRST_PARTY=true
                        
# 2023-09-30 21:30:00  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/init"]
                        
# 2023-09-30 21:30:00  5.48KB 复制新文件或目录到容器中
COPY root/ / # buildkit
                        
# 2023-09-30 21:30:00  12.77MB 执行命令并创建新的镜像层
RUN |4 BUILD_DATE=2023-09-30T13:27:43+00:00 VERSION=2f868aa4-ls20 MODS_VERSION=v3 PKG_INST_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" &&   apk add --no-cache     alpine-release     bash     ca-certificates     coreutils     curl     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
                        
# 2023-09-30 21:29:58  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
                        
# 2023-09-30 21:29:58  2.83KB 复制文件或目录到容器中
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit
                        
# 2023-09-30 21:29:58  18.91KB 复制文件或目录到容器中
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
                        
# 2023-09-30 21:29:58  0.00B 添加元数据标签
LABEL maintainer=TheLamer
                        
# 2023-09-30 21:29:58  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- 2f868aa4-ls20 Build-date:- 2023-09-30T13:27:43+00:00
                        
# 2023-09-30 21:29:58  0.00B 定义构建参数
ARG PKG_INST_VERSION=v1
                        
# 2023-09-30 21:29:58  0.00B 定义构建参数
ARG MODS_VERSION=v3
                        
# 2023-09-30 21:29:58  0.00B 定义构建参数
ARG VERSION
                        
# 2023-09-30 21:29:58  0.00B 定义构建参数
ARG BUILD_DATE
                        
# 2023-09-30 21:29:58  12.71MB 复制新文件或目录到容器中
COPY /root-out/ / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:783785b967b684ccb3134d6b86faea1d7d2c8e1653811e2349ec3289513677d7",
    "RepoTags": [
        "linuxserver/wireguard:v1.0.20210914-ls7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard:v1.0.20210914-ls7"
    ],
    "RepoDigests": [
        "linuxserver/wireguard@sha256:3404aceabc8b6406eb0989a682379f94bfd4521f058e511e3b680811ae1a0d65",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/wireguard@sha256:3e22b4667589decf9f8f29f138691990b8177159568bb39ce907a801b363d32d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-10-05T11:22:17.108278356Z",
    "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:- v1.0.20210914-ls7 Build-date:- 2023-10-05T11:20:07+00:00",
            "maintainer": "thespad",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2023-10-05T11:20:07+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": "2198ae40907cb5a18b20afc3c58410f016df5cd8",
            "org.opencontainers.image.revision": "2198ae40907cb5a18b20afc3c58410f016df5cd8",
            "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": "v1.0.20210914-ls7"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 141992583,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/83943fe3daff87c3c73e24bd184f2655429a860890313167c4794b8febdc1b19/diff:/var/lib/docker/overlay2/06fd200f53ef3cf71bd7a2d6b5fc8a5e4a743922c0b96aa37d3978380c84706e/diff:/var/lib/docker/overlay2/7e57a64a561b87e6356c7637083f8f4b809ebba03460dc3631e94098a1b61452/diff:/var/lib/docker/overlay2/182254e24f30508f5e807015b42b11f10d90dd5523e7b93f060b93299e480030/diff:/var/lib/docker/overlay2/e782267f640239f1477e4b9686645367a873c33252645c576381c7e449452065/diff:/var/lib/docker/overlay2/b487049105e018594097b769006067b9383825f4f8002e490387d95cc487b1fc/diff",
            "MergedDir": "/var/lib/docker/overlay2/b13b0914f8161ebf42ad2b323170ebb394c6fd56349205a320e14c984cea02d2/merged",
            "UpperDir": "/var/lib/docker/overlay2/b13b0914f8161ebf42ad2b323170ebb394c6fd56349205a320e14c984cea02d2/diff",
            "WorkDir": "/var/lib/docker/overlay2/b13b0914f8161ebf42ad2b323170ebb394c6fd56349205a320e14c984cea02d2/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f5dd664bb2887e85351275f27e78379fd3dd79676967ff646d88bdf59f2a4749",
            "sha256:c185a7702ea002a28954b8f61b268f6b90a632412d3c85498e4283149c78c409",
            "sha256:c60b6a1e669426c42cee17d66efaaec8b116f2002b7acc322df9a6446f02975f",
            "sha256:1023f3791331e8ce0f8057cb1cb824486fcaf88de7d2280041f086833b784559",
            "sha256:f9d7dc58878b7fee0f6ad4de2ec838d38e15aa56a9672d30799739a9eaba5b34",
            "sha256:773fc2f072f5257e8f7f8e07666f496222cca4327a5fb4e2059963ba5f983568",
            "sha256:f8305eb2ba1ef3a6922322128c54a2f67c4b661340bd8b01c381da4f834cfd2f"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-07-26T11:41:08.416808079+08:00"
    }
}

更多版本

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

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