docker.io/certbot/certbot:v5.1.0 linux/amd64

docker.io/certbot/certbot:v5.1.0 - 国内下载镜像源 浏览次数:13

Certbot 是一个证书自动化工具,它使用 Let's Encrypt 证书来提供 SSL/TLS 证书。Certbot 可以帮助你自动获取和更新证书,让你的 web 服务器具备 HTTPS 支持。

源镜像 docker.io/certbot/certbot:v5.1.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot:v5.1.0
镜像ID sha256:070dcb22535c31e9932765ab1a66375017f78a77274574ff763adb5aff7df29e
镜像TAG v5.1.0
大小 183.45MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 certbot
工作目录 /opt/certbot
OS/平台 linux/amd64
浏览量 13 次
贡献者
镜像创建 2025-10-07T16:43:39.774408613Z
同步时间 2025-11-28 17:10
更新时间 2025-11-29 02:43
开放端口
443/tcp 80/tcp
目录挂载
/etc/letsencrypt /var/lib/letsencrypt
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.10 PYTHON_SHA256=07ab697474595e06f06647417d3c7fa97ded07afc1a7e4454c5639919b46eaea

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot:v5.1.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot:v5.1.0  docker.io/certbot/certbot:v5.1.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot:v5.1.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot:v5.1.0  docker.io/certbot/certbot:v5.1.0

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-10-08 00:43:39  113.51MB 执行命令并创建新的镜像层
RUN |1 CARGO_NET_GIT_FETCH_WITH_CLI=true /bin/sh -c apk add --no-cache --virtual .build-deps         gcc         linux-headers         openssl-dev         musl-dev         libffi-dev         python3-dev         cargo         git         pkgconfig     && CARGO_LOG=trace CARGO_TERM_VERBOSE=true python tools/pip_install.py             --no-cache-dir -vvv             --editable src/acme             --editable src/certbot     && apk del .build-deps     && rm -rf ${HOME}/.cargo # buildkit
                        
# 2025-10-08 00:43:20  0.00B 定义构建参数
ARG CARGO_NET_GIT_FETCH_WITH_CLI=true
                        
# 2025-10-08 00:43:20  19.68MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache --virtual .certbot-deps         libffi         libssl3         openssl         ca-certificates         binutils # buildkit
                        
# 2025-10-08 00:43:19  1.82MB 复制新文件或目录到容器中
COPY certbot src/certbot # buildkit
                        
# 2025-10-08 00:43:19  301.78KB 复制新文件或目录到容器中
COPY acme src/acme # buildkit
                        
# 2025-10-08 00:43:19  105.86KB 复制新文件或目录到容器中
COPY tools tools # buildkit
                        
# 2025-10-08 00:43:19  138.46KB 复制新文件或目录到容器中
COPY CHANGELOG.md README.rst src/ # buildkit
                        
# 2025-10-08 00:43:19  0.00B 设置工作目录为/opt/certbot
WORKDIR /opt/certbot
                        
# 2025-10-08 00:43:19  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/etc/letsencrypt /var/lib/letsencrypt]
                        
# 2025-10-08 00:43:19  0.00B 声明容器运行时监听的端口
EXPOSE &{[{{5 0} {5 0}}] 0xc000415280}
                        
# 2025-10-08 00:43:19  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["certbot"]
                        
# 2025-05-09 06:27:23  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2025-05-09 06:27:23  36.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	for src in idle3 pip3 pydoc3 python3 python3-config; do 		dst="$(echo "$src" | tr -d 3)"; 		[ -s "/usr/local/bin/$src" ]; 		[ ! -e "/usr/local/bin/$dst" ]; 		ln -svT "$src" "/usr/local/bin/$dst"; 	done # buildkit
                        
# 2025-05-09 06:27:23  39.09MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		gnupg 		tar 		xz 				bluez-dev 		bzip2-dev 		dpkg-dev dpkg 		findutils 		gcc 		gdbm-dev 		libc-dev 		libffi-dev 		libnsl-dev 		libtirpc-dev 		linux-headers 		make 		ncurses-dev 		openssl-dev 		pax-utils 		readline-dev 		sqlite-dev 		tcl-dev 		tk 		tk-dev 		util-linux-dev 		xz-dev 		zlib-dev 	; 		wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 	echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	mkdir -p /usr/src/python; 	tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; 	rm python.tar.xz; 		cd /usr/src/python; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-loadable-sqlite-extensions 		--enable-option-checking=fatal 		--enable-shared 		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') 		--with-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 		arch="$(apk --print-arch)"; 		case "$arch" in 			x86_64|aarch64) 				EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; 				;; 			x86) 				;; 			*) 				EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; 				;; 		esac; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:-}" 	; 	rm python; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 		python 	; 	make install; 		cd /; 	rm -rf /usr/src/python; 		find /usr/local -depth 		\( 			\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) 			-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) 		\) -exec rm -rf '{}' + 	; 		find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' 		| tr ',' '\n' 		| sort -u 		| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 		| xargs -rt apk add --no-network --virtual .python-rundeps 	; 	apk del --no-network .build-deps; 		export PYTHONDONTWRITEBYTECODE=1; 	python3 --version; 	pip3 --version # buildkit
                        
# 2025-05-09 06:27:23  0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=07ab697474595e06f06647417d3c7fa97ded07afc1a7e4454c5639919b46eaea
                        
# 2025-05-09 06:27:23  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.12.10
                        
# 2025-05-09 06:27:23  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
                        
# 2025-05-09 06:27:23  1.01MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		ca-certificates 		tzdata 	; # buildkit
                        
# 2025-05-09 06:27:23  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2025-05-09 06:27:23  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-02-14 11:00:07  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-02-14 11:00:07  7.80MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:070dcb22535c31e9932765ab1a66375017f78a77274574ff763adb5aff7df29e",
    "RepoTags": [
        "certbot/certbot:v5.1.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot:v5.1.0"
    ],
    "RepoDigests": [
        "certbot/certbot@sha256:bb72eb98a32ecc5dcef8eeeb8fb6a2a8c50d4d93e2a2c3542f8cb679840c990c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/certbot/certbot@sha256:69f7fc8fceb66cba6a88aea4e534009ec94b89d156c7e1dbec9c44ef446fad22"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-07T16:43:39.774408613Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "443/tcp": {},
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.10",
            "PYTHON_SHA256=07ab697474595e06f06647417d3c7fa97ded07afc1a7e4454c5639919b46eaea"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": {
            "/etc/letsencrypt": {},
            "/var/lib/letsencrypt": {}
        },
        "WorkingDir": "/opt/certbot",
        "Entrypoint": [
            "certbot"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 183449117,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/bda455d155957f08754d86749d241699e67d269ea4a83f16f495018312ee97b6/diff:/var/lib/docker/overlay2/78bac9c632560d737d2f90444e9c734d4052401ff562b2438737b0ec9207bea3/diff:/var/lib/docker/overlay2/d4552c45f8bf9cc9fc52605d4028d6d17cffea1101522f4e3d4389bca32dbf12/diff:/var/lib/docker/overlay2/f523a134e0c27d40d87ae796b9eb90314ea2fb51dbe0613b08aac1a63f732382/diff:/var/lib/docker/overlay2/23f0a28f238a04a09cab950933b99c40c595ab21ffb6d6ba01e53f3c5555bcc8/diff:/var/lib/docker/overlay2/6c7c48c7bd4bfc1768fe6dc967b174c929d3121d43e5064d0172b911353e472b/diff:/var/lib/docker/overlay2/9d404f6d835d9ed7f44295ff8e3cca01ecfe4d57f6aded68e2b2350b619c9524/diff:/var/lib/docker/overlay2/2d62732b314b0e27d8e93fca4251b5e885d8c193eccd41748360a947bf97ce5d/diff:/var/lib/docker/overlay2/d90328722d32741af7404dc7c7b2f8122ba1e722c772090a3938222ce094c3e8/diff:/var/lib/docker/overlay2/7a767b194a0eab524a6383fce9ef8fe8a90fba45f16399a7add89c92e122e240/diff",
            "MergedDir": "/var/lib/docker/overlay2/f526f2bad49108f471fd52743858c44f7317a72e05b3b6f3ae45f2ce1d2cae71/merged",
            "UpperDir": "/var/lib/docker/overlay2/f526f2bad49108f471fd52743858c44f7317a72e05b3b6f3ae45f2ce1d2cae71/diff",
            "WorkDir": "/var/lib/docker/overlay2/f526f2bad49108f471fd52743858c44f7317a72e05b3b6f3ae45f2ce1d2cae71/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:994456c4fd7b2b87346a81961efb4ce945a39592d32e0762b38768bca7c7d085",
            "sha256:742e38c37a3df8d7685f163c146ab948120a81e39dd97817addae56e878b6f1a",
            "sha256:7b7e15815a1df5e94833097b7f662b81e9d1395b4c874b79ff8001d05fae55a5",
            "sha256:dbb969ba5eafbfe83869528a067a90aae0fca8d7a8f6e9eed106d7298bce9402",
            "sha256:d4e2c525d84db4f4576c0586b6d7c55bfd92ea6bb9a43d4f2fda2e3f3ebb50fb",
            "sha256:a857e04f991e486e6c7945ae60808c30caea9215da5a0a7344d18079a6982657",
            "sha256:ade3ac04329a3983569f0fed3dde9fa50c7f96526fa48890426d16e214979b1a",
            "sha256:f543e7396509967d68e0682874abc2112b92d917a1eda6092eda1455a55a92e3",
            "sha256:7650963f38bb6c2865d8b02681926b7394cdfb401a5098815aea75fc5d26fa0a",
            "sha256:eb9a9e97023ac628531207270f6e8ee98e2e1746a60a7c88636b665a6e4d959e",
            "sha256:f1c69fa0a0625753862d982f708e9a5b7c0c3492068acdd4aea51f14980f5c32"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-11-28T17:10:20.68595245+08:00"
    }
}

更多版本

docker.io/certbot/certbot:amd64-nightly

linux/amd64 docker.io117.05MB2024-08-17 15:18
559

docker.io/certbot/certbot:v3.1.0

linux/amd64 docker.io104.17MB2025-01-13 10:25
352

docker.io/certbot/certbot:v3.1.0

linux/arm64 docker.io112.29MB2025-01-21 17:07
219

docker.io/certbot/certbot:latest

linux/amd64 docker.io104.17MB2025-02-05 10:51
788

docker.io/certbot/certbot:v3.2.0

linux/amd64 docker.io119.34MB2025-03-01 14:12
662

docker.io/certbot/certbot:v3.2.0

linux/arm64 docker.io128.05MB2025-03-01 14:14
413

docker.io/certbot/certbot:latest

linux/arm64 docker.io121.88MB2025-03-25 15:37
433

docker.io/certbot/certbot:v4.1.1

linux/amd64 docker.io113.86MB2025-07-22 11:37
234

docker.io/certbot/certbot:v5.0.0

linux/amd64 docker.io183.43MB2025-09-24 20:07
227

docker.io/certbot/certbot:v5.0.0

linux/arm64 docker.io182.12MB2025-09-25 10:07
82

docker.io/certbot/certbot:v5.1.0

linux/amd64 docker.io183.45MB2025-11-28 17:10
12