docker.io/library/haproxy:2.3 linux/amd64

docker.io/library/haproxy:2.3 - 国内下载镜像源 浏览次数:40 安全受验证的发布者-Docker

HAProxy 镜像

这是一个官方的 HAProxy 镜像,提供了 HAProxy 的最新稳定版本。它是一个高性能的反向代理和负载均衡器,可以用于将流量分配到多个服务器,以提高性能、可靠性和安全性。

这个镜像包含以下功能:

  • HAProxy 的最新稳定版本
  • 预配置的配置文件
  • 基本的监控功能
源镜像 docker.io/library/haproxy:2.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy:2.3
镜像ID sha256:7ecd3fda00f4eb9a16e657cf1a9d2d5fc2b4d889bcacc04f70e4db98c45dabfd
镜像TAG 2.3
大小 99.37MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD haproxy -f /usr/local/etc/haproxy/haproxy.cfg
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 40 次
贡献者
镜像创建 2022-07-28T22:22:14.343437012Z
同步时间 2024-12-19 20:17
更新时间 2025-01-13 21:41
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HAPROXY_VERSION=2.3.21 HAPROXY_URL=https://www.haproxy.org/download/2.3/src/haproxy-2.3.21.tar.gz HAPROXY_SHA256=15b51b24ccc3366db92ddb9ebf6880af2657842d67d1756ff1ac6d90151de668
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.4 扫描引擎: Trivy 扫描时间: 2024-12-19 20:19

低危漏洞:82 中危漏洞:49 高危漏洞:55 严重漏洞:10

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy:2.3
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy:2.3  docker.io/library/haproxy:2.3

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy:2.3
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy:2.3  docker.io/library/haproxy:2.3

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-07-29 06:22:14  0.00B 
/bin/sh -c #(nop)  CMD ["haproxy" "-f" "/usr/local/etc/haproxy/haproxy.cfg"]
                        
# 2022-07-29 06:22:14  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2022-07-29 06:22:14  34.00B 
/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
                        
# 2022-07-29 06:22:13  417.00B 
/bin/sh -c #(nop) COPY file:a7db5ef8dbcd831ff68d6ff2fb45bc340539ad6d7a58d54323fd7399d1520910 in /usr/local/bin/ 
                        
# 2022-07-29 06:22:13  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGUSR1
                        
# 2022-07-29 06:22:13  18.94MB 
/bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update && apt-get install -y --no-install-recommends 		ca-certificates 		gcc 		libc6-dev 		liblua5.3-dev 		libpcre2-dev 		libssl-dev 		make 		wget 		zlib1g-dev 	; 	rm -rf /var/lib/apt/lists/*; 		wget -O haproxy.tar.gz "$HAPROXY_URL"; 	echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c; 	mkdir -p /usr/src/haproxy; 	tar -xzf haproxy.tar.gz -C /usr/src/haproxy --strip-components=1; 	rm haproxy.tar.gz; 		makeOpts=' 		TARGET=linux-glibc 		USE_GETADDRINFO=1 		USE_LUA=1 LUA_INC=/usr/include/lua5.3 		USE_OPENSSL=1 		USE_PCRE2=1 USE_PCRE2_JIT=1 		USE_ZLIB=1 				EXTRA_OBJS=" 			contrib/prometheus-exporter/service-prometheus.o 		" 	'; 	dpkgArch="$(dpkg --print-architecture)"; 	case "$dpkgArch" in 		armel) makeOpts="$makeOpts ADDLIB=-latomic" ;; 	esac; 		nproc="$(nproc)"; 	eval "make -C /usr/src/haproxy -j '$nproc' all $makeOpts"; 	eval "make -C /usr/src/haproxy install-bin $makeOpts"; 		mkdir -p /usr/local/etc/haproxy; 	cp -R /usr/src/haproxy/examples/errorfiles /usr/local/etc/haproxy/errors; 	rm -rf /usr/src/haproxy; 		apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; 	find /usr/local -type f -executable -exec ldd '{}' ';' 		| awk '/=>/ { print $(NF-1) }' 		| sort -u 		| xargs -r dpkg-query --search 		| cut -d: -f1 		| sort -u 		| xargs -r apt-mark manual 	; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 		haproxy -v
                        
# 2022-07-29 06:21:40  0.00B 
/bin/sh -c #(nop)  ENV HAPROXY_SHA256=15b51b24ccc3366db92ddb9ebf6880af2657842d67d1756ff1ac6d90151de668
                        
# 2022-07-29 06:21:40  0.00B 
/bin/sh -c #(nop)  ENV HAPROXY_URL=https://www.haproxy.org/download/2.3/src/haproxy-2.3.21.tar.gz
                        
# 2022-07-29 06:21:40  0.00B 
/bin/sh -c #(nop)  ENV HAPROXY_VERSION=2.3.21
                        
# 2022-07-12 12:04:13  37.30KB 
/bin/sh -c set -eux; 	groupadd --gid 99 --system haproxy; 	useradd 		--gid haproxy 		--home-dir /var/lib/haproxy 		--no-create-home 		--system 		--uid 99 		haproxy 	; 	mkdir /var/lib/haproxy; 	chown haproxy:haproxy /var/lib/haproxy
                        
# 2022-07-12 09:20:10  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-07-12 09:20:10  80.39MB 
/bin/sh -c #(nop) ADD file:d978f6d3025a06f5142a0c13c98bf12fbd47cdf9162ed31fbc05c86983b0a679 in / 
                        
                    

镜像信息

{
    "Id": "sha256:7ecd3fda00f4eb9a16e657cf1a9d2d5fc2b4d889bcacc04f70e4db98c45dabfd",
    "RepoTags": [
        "haproxy:2.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy:2.3"
    ],
    "RepoDigests": [
        "haproxy@sha256:078319f4e37b76da949494b6c36d1cab67baf4a7aac7a18549ffc08a4b3d8c3e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/haproxy@sha256:058f434330f13dbbc46761f3e9a76af2408e9ec1898c9ac5a8baf00b42e756a9"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-07-28T22:22:14.343437012Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HAPROXY_VERSION=2.3.21",
            "HAPROXY_URL=https://www.haproxy.org/download/2.3/src/haproxy-2.3.21.tar.gz",
            "HAPROXY_SHA256=15b51b24ccc3366db92ddb9ebf6880af2657842d67d1756ff1ac6d90151de668"
        ],
        "Cmd": [
            "haproxy",
            "-f",
            "/usr/local/etc/haproxy/haproxy.cfg"
        ],
        "Image": "sha256:3ddc0dbe7c783a3c89242d55e55effe7008867ddb8a99e192199bce6e5f2a3cc",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGUSR1"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 99365628,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/aa48111678c68935160663c03e9695de078916c62dd9a10771a5997b2f18af76/diff:/var/lib/docker/overlay2/3a1c74a6b4574a434e3348b75c8915289548d882bb042603f5c81732a64053f9/diff:/var/lib/docker/overlay2/f30124927860d9079502907ea733a73dcfdeafc5b3ea548c65a34c16c698bf92/diff:/var/lib/docker/overlay2/4d5d99c3ec80d869ae8151f643071ff963ebe2118c8537d17ed1ef5aee4fbd2f/diff",
            "MergedDir": "/var/lib/docker/overlay2/590b6ca64f185902ce35b27f977a06420f5f9322b72939e26161971811a888bc/merged",
            "UpperDir": "/var/lib/docker/overlay2/590b6ca64f185902ce35b27f977a06420f5f9322b72939e26161971811a888bc/diff",
            "WorkDir": "/var/lib/docker/overlay2/590b6ca64f185902ce35b27f977a06420f5f9322b72939e26161971811a888bc/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:43b3c4e3001c662d1c264ffb132f4e52950893452b15508df810214f1d3f124b",
            "sha256:87b571ab9f2c2944e647bfe513fa9028f64dea9182015ac17174e3581db8fa32",
            "sha256:85ff335ffae2198939e431e7841792a3068b6d17d70e49f379ddc2e988bba008",
            "sha256:432ae7833e273eb348adda7fa09f739d14de19fd2ec7ceffdd6d7e542968b7e4",
            "sha256:95d92b3c450e3e97d0c8e903a9dbd5f799a08ad0e6223fc6ce6473d9ae80866e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-19T20:17:52.138556918+08:00"
    }
}

更多版本

docker.io/library/haproxy:3.0.5

linux/amd64 docker.io102.91MB2024-11-07 15:05
103

docker.io/library/haproxy:2.3

linux/amd64 docker.io99.37MB2024-12-19 20:17
39

docker.io/library/haproxy:bookworm

linux/amd64 docker.io104.91MB2025-01-17 15:49
20