docker.io/python:3.11.10-slim-bullseye linux/amd64

docker.io/python:3.11.10-slim-bullseye - 国内下载镜像源 浏览次数:51
🐳 Python Docker Image: .NET Framework 3.5/4.6/5.0 on Ubuntu/Linux
源镜像 docker.io/python:3.11.10-slim-bullseye
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye
镜像ID sha256:c392dcfc9b80434d4ad0ddbd6e4e98ec8c35bcb4d8d9d688e5d2098383eea47a
镜像TAG 3.11.10-slim-bullseye
大小 126.51MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录
OS/平台 linux/amd64
浏览量 51 次
贡献者
镜像创建 2024-10-18T23:23:40Z
同步时间 2024-12-11 14:13
更新时间 2024-12-26 02:45
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D PYTHON_VERSION=3.11.10 PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.11 扫描引擎: Trivy 扫描时间: 2024-12-11 14:15

低危漏洞:76 中危漏洞:19 高危漏洞:8 严重漏洞:2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye  docker.io/python:3.11.10-slim-bullseye

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye  docker.io/python:3.11.10-slim-bullseye

Shell快速替换命令

sed -i 's#python:3.11.10-slim-bullseye#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye  docker.io/python:3.11.10-slim-bullseye'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye  docker.io/python:3.11.10-slim-bullseye'

镜像构建历史


# 2024-10-19 07:23:40  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-10-19 07:23:40  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
                        
# 2024-10-19 07:23:40  43.53MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		dpkg-dev 		gcc 		gnupg 		libbluetooth-dev 		libbz2-dev 		libc6-dev 		libdb-dev 		libffi-dev 		libgdbm-dev 		liblzma-dev 		libncursesw5-dev 		libreadline-dev 		libsqlite3-dev 		libssl-dev 		make 		tk-dev 		uuid-dev 		wget 		xz-utils 		zlib1g-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-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-lto 		--with-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; 	LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	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 '{}' + 	; 		ldconfig; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark; 	find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' 		| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' 		| 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; 	rm -rf /var/lib/apt/lists/*; 		export PYTHONDONTWRITEBYTECODE=1; 	python3 --version; 		pip3 install 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		'setuptools==65.5.1' 		wheel 	; 	pip3 --version # buildkit
                        
# 2024-10-19 07:23:40  0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
                        
# 2024-10-19 07:23:40  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.10
                        
# 2024-10-19 07:23:40  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2024-10-19 07:23:40  2.33MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		netbase 		tzdata 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-10-19 07:23:40  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-10-19 07:23:40  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-10-19 07:23:40  80.66MB 
# debian.sh --arch 'amd64' out/ 'bullseye' '@1733097600'
                        
                    

镜像信息

{
    "Id": "sha256:c392dcfc9b80434d4ad0ddbd6e4e98ec8c35bcb4d8d9d688e5d2098383eea47a",
    "RepoTags": [
        "python:3.11.10-slim-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11.10-slim-bullseye"
    ],
    "RepoDigests": [
        "python@sha256:ed5f7120b2a4fe3296b2293128cef5f08077f489efc6c473015e10fe4228875a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:39fba59fec449cafab076edaa51092e572f04e46b64996fe93ea65246baf5d90"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-18T23:23:40Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "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=A035C8C19219BA821ECEA86B64E628F8D684696D",
            "PYTHON_VERSION=3.11.10",
            "PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372"
        ],
        "Cmd": [
            "python3"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 126514033,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/52f6d187134459edd585bcd6800e7eb096f81c2006e4ebc34eb139c3ec749c82/diff:/var/lib/docker/overlay2/1ebc09c98582510b20c933242966959897c59b0cb3ca021dfb90e8fbedc8950f/diff:/var/lib/docker/overlay2/12d0644a23b709834a500bc47853c1c0041c2dc276e44395ba0a8a325d447489/diff",
            "MergedDir": "/var/lib/docker/overlay2/f34d39fc570d1258aec37c536344d7a42c00b13606e5b425a2e685e8e542d44b/merged",
            "UpperDir": "/var/lib/docker/overlay2/f34d39fc570d1258aec37c536344d7a42c00b13606e5b425a2e685e8e542d44b/diff",
            "WorkDir": "/var/lib/docker/overlay2/f34d39fc570d1258aec37c536344d7a42c00b13606e5b425a2e685e8e542d44b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:6a4fdc7ff1bfb236bd5caadebad42a7a36cbab09ee1eff157659d5adb47f6500",
            "sha256:bad01c8f38815626029a68e1f59af36027bd250c27e3994a0bbd0f325a05597e",
            "sha256:2976ba69f70e78a79a1ea63fb2bf3a77b5b7c8f6e2c9e26944050dc0e191e455",
            "sha256:c3137f9e889ea568952be6b38e8e5bca3a70b2aab925729ee86e19ca638ec705"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-11T14:13:42.785180319+08:00"
    }
}

更多版本

docker.io/python:3.11.9-alpine3.18

linux/amd64 docker.io52.26MB2024-04-07 14:41
617

docker.io/python:3.10-alpine3.20

linux/amd64 docker.io55.68MB2024-06-19 11:04
575

docker.io/python:alpine3.20

linux/arm64 docker.io57.22MB2024-06-21 18:46
551

docker.io/python:3.11-slim-bookworm

linux/amd64 docker.io130.78MB2024-06-24 13:15
685

docker.io/python:3.12-alpine

linux/arm64 docker.io57.22MB2024-06-28 11:33
539

docker.io/python:3.12.4-alpine

linux/arm64 docker.io57.22MB2024-06-28 11:39
501

docker.io/python:3.9-alpine

linux/amd64 docker.io48.00MB2024-06-29 09:52
701

docker.io/python:3.12-slim

linux/amd64 docker.io129.50MB2024-07-09 16:34
1091

docker.io/python:3.10.14

linux/amd64 docker.io1.00GB2024-07-12 11:36
773

docker.io/python:3-slim

linux/amd64 docker.io129.50MB2024-07-16 13:54
265

docker.io/python:3.12

linux/amd64 docker.io1.02GB2024-07-24 19:53
882

docker.io/python:3.9-slim

linux/amd64 docker.io125.32MB2024-08-05 17:37
1384

docker.io/python:3.9-slim-bookworm

linux/amd64 docker.io125.32MB2024-08-11 16:38
271

docker.io/python:3.11

linux/amd64 docker.io1.01GB2024-08-12 12:30
596

docker.io/python:3.11.9

linux/amd64 docker.io1.01GB2024-08-14 16:12
450

docker.io/python:3.11-slim

linux/amd64 docker.io129.91MB2024-08-15 16:05
859

docker.io/python:3.12.5-slim-bullseye

linux/amd64 docker.io128.56MB2024-08-27 13:31
225

docker.io/python:3.12.5-bullseye

linux/amd64 docker.io932.81MB2024-08-27 13:34
162

docker.io/python:3.11.9-slim-bullseye

linux/amd64 docker.io127.34MB2024-08-27 14:30
232

docker.io/python:3.12.5-bookworm

linux/amd64 docker.io1.02GB2024-08-28 13:39
171

docker.io/python:3.10.14-bookworm

linux/amd64 docker.io1.00GB2024-08-28 17:01
166

docker.io/python:2.7

linux/amd64 docker.io901.78MB2024-09-03 12:46
267

docker.io/python:3.10.11-slim-buster

linux/arm64 docker.io111.38MB2024-09-03 17:57
251

docker.io/python:3.6.15-alpine

linux/amd64 docker.io40.67MB2024-09-24 16:50
189

docker.io/python:3.11.10-bookworm

linux/amd64 docker.io1.01GB2024-09-29 18:03
162

docker.io/python:3.10-slim

linux/amd64 docker.io126.97MB2024-10-11 11:54
393

docker.io/python:3.9

linux/amd64 docker.io996.67MB2024-10-11 16:02
314

docker.io/python:3.13.0

linux/amd64 docker.io1.02GB2024-10-12 13:46
203

docker.io/python:3.9.16-bullseye

linux/amd64 docker.io906.48MB2024-10-14 20:15
140

docker.io/python:3.9.16-slim-bullseye

linux/amd64 docker.io124.14MB2024-10-14 21:18
138

docker.io/python:3.8.16-slim-buster

linux/amd64 docker.io116.19MB2024-10-17 08:54
130

docker.io/python:3.13.0-slim-bullseye

linux/amd64 docker.io120.18MB2024-10-17 14:13
217

docker.io/python:3.11.1

linux/amd64 docker.io924.72MB2024-10-23 10:03
113

docker.io/python:3.10-slim-bookworm

linux/amd64 docker.io127.17MB2024-10-23 13:49
216

docker.io/python:2.7.18

linux/arm64 docker.io847.21MB2024-10-29 17:30
98

docker.io/python:3.10.15-bullseye

linux/amd64 docker.io914.55MB2024-10-31 15:42
116

docker.io/python:3.10.15-bookworm

linux/amd64 docker.io1.00GB2024-10-31 15:47
250

docker.io/python:3.7.17

linux/amd64 docker.io993.93MB2024-11-05 14:12
92

docker.io/python:3.8-slim

linux/amd64 docker.io124.73MB2024-11-05 19:26
102

docker.io/python:3.6.11

linux/arm64 docker.io819.35MB2024-11-11 16:34
52

docker.io/python:3.6.12

linux/arm64 docker.io820.25MB2024-11-11 17:09
57

docker.io/python:3.6.11

linux/arm docker.io684.65MB2024-11-11 17:37
49

docker.io/python:3.10-slim-bookworm

linux/arm64 docker.io152.67MB2024-11-14 15:15
71

docker.io/python:3.13-slim

linux/amd64 docker.io120.78MB2024-11-14 18:04
95

docker.io/python:3.12.7-alpine

linux/amd64 docker.io53.72MB2024-11-15 13:32
73

docker.io/python:3.12.7-slim

linux/amd64 docker.io124.31MB2024-11-15 14:03
73

docker.io/python:3.11.8-slim

linux/amd64 docker.io130.69MB2024-11-25 15:53
64

docker.io/python:3.11.8-alpine3.18

linux/amd64 docker.io52.27MB2024-11-25 17:06
50

docker.io/python:3.9-slim

linux/arm64 docker.io151.11MB2024-11-26 10:33
81

docker.io/python:3.12-slim-bookworm

linux/amd64 docker.io124.31MB2024-11-26 11:57
67

docker.io/python:3.7.5

linux/amd64 docker.io917.33MB2024-12-10 14:03
57

docker.io/python:3.11.10-slim-bullseye

linux/amd64 docker.io126.51MB2024-12-11 14:13
50

docker.io/python:3.11-slim-buster

linux/amd64 docker.io120.41MB2024-12-11 15:01
42

docker.io/python:3.11.10

linux/amd64 docker.io1.01GB2024-12-11 16:02
56

docker.io/python:3.11.10-slim-bookworm

linux/amd64 docker.io129.09MB2024-12-11 16:04
60

docker.io/python:3.10-alpine

linux/amd64 docker.io51.07MB2024-12-17 15:34
35