docker.io/python:3.11-alpine3.21 linux/amd64

docker.io/python:3.11-alpine3.21 - 国内下载镜像源 浏览次数:10
🐳 Python Docker Image: .NET Framework 3.5/4.6/5.0 on Ubuntu/Linux
源镜像 docker.io/python:3.11-alpine3.21
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21
镜像ID sha256:30c8acedd72d7c8bcd2f778c3ea5a3d75390bc43b9cf0bb390c1bbae9a3e36e6
镜像TAG 3.11-alpine3.21
大小 53.80MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 10 次
贡献者 yi*******6@qq.com
镜像创建 2024-12-05T13:19:52Z
同步时间 2025-04-02 14:26
更新时间 2025-04-02 20:05
环境变量
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.11 PYTHON_SHA256=2a9920c7a0cd236de33644ed980a13cbbc21058bfdc528febb6081575ed73be3

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21  docker.io/python:3.11-alpine3.21

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21  docker.io/python:3.11-alpine3.21

Shell快速替换命令

sed -i 's#python:3.11-alpine3.21#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-12-05 21:19:52  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-12-05 21:19:52  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-12-05 21:19:52  44.96MB 执行命令并创建新的镜像层
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 		--with-lto 		--with-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 	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 '{}' + 	; 		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 install 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		'setuptools==65.5.1' 		wheel 	; 	pip3 --version # buildkit
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=2a9920c7a0cd236de33644ed980a13cbbc21058bfdc528febb6081575ed73be3
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.11
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2024-12-05 21:19:52  1.01MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		ca-certificates 		tzdata 	; # buildkit
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-12-05 21:19:52  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-12-05 21:19:52  7.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:30c8acedd72d7c8bcd2f778c3ea5a3d75390bc43b9cf0bb390c1bbae9a3e36e6",
    "RepoTags": [
        "python:3.11-alpine3.21",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.11-alpine3.21"
    ],
    "RepoDigests": [
        "python@sha256:d5e2fc72296647869f5eeb09e7741088a1841195059de842b05b94cb9d3771bb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:daddc7d73b5f3ab953718a89a5271a5381b986570bb743d9afd87b9e719909bf"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-05T13:19:52Z",
    "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.11",
            "PYTHON_SHA256=2a9920c7a0cd236de33644ed980a13cbbc21058bfdc528febb6081575ed73be3"
        ],
        "Cmd": [
            "python3"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 53801046,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9ebbe1a46eac3bc8ec939512b85cb50b898fa0879393f32a7cec8d848e1be74f/diff:/var/lib/docker/overlay2/51fdd28488d96cbcedf3cfaef753be3d1834f734500d52787bb5d8873e75ba71/diff:/var/lib/docker/overlay2/4e8c80c1de56b91b667718f35bdead0b4c91a2fdafbfe97c3c57654b169634d9/diff",
            "MergedDir": "/var/lib/docker/overlay2/eec16903cb88f486086a742c40426942a0cc2e1d8ae75f20ad1a0ae6f3cc004d/merged",
            "UpperDir": "/var/lib/docker/overlay2/eec16903cb88f486086a742c40426942a0cc2e1d8ae75f20ad1a0ae6f3cc004d/diff",
            "WorkDir": "/var/lib/docker/overlay2/eec16903cb88f486086a742c40426942a0cc2e1d8ae75f20ad1a0ae6f3cc004d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:08000c18d16dadf9553d747a58cf44023423a9ab010aab96cf263d2216b8b350",
            "sha256:7a5f03216aec97008c7a1c6e56453936cc63659284fc8197044891eab006fe46",
            "sha256:49afc675d35137ce2a2cd19322598d88ea0c66061e48ee2e2dffc6aca7bd0c51",
            "sha256:72bfe11a5963788637cf33dae3a69d8a863cf66b352da869a646e6b499fdec1a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-02T14:26:38.649280872+08:00"
    }
}

更多版本

docker.io/python:3.11.9-alpine3.18

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

docker.io/python:3.10-alpine3.20

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

docker.io/python:alpine3.20

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

docker.io/python:3.11-slim-bookworm

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

docker.io/python:3.12-alpine

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

docker.io/python:3.12.4-alpine

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

docker.io/python:3.9-alpine

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

docker.io/python:3.12-slim

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

docker.io/python:3.10.14

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

docker.io/python:3-slim

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

docker.io/python:3.12

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

docker.io/python:3.9-slim

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

docker.io/python:3.9-slim-bookworm

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

docker.io/python:3.11

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

docker.io/python:3.11.9

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

docker.io/python:3.11-slim

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

docker.io/python:3.12.5-slim-bullseye

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

docker.io/python:3.12.5-bullseye

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

docker.io/python:3.11.9-slim-bullseye

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

docker.io/python:3.12.5-bookworm

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

docker.io/python:3.10.14-bookworm

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

docker.io/python:2.7

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

docker.io/python:3.10.11-slim-buster

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

docker.io/python:3.6.15-alpine

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

docker.io/python:3.11.10-bookworm

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

docker.io/python:3.10-slim

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

docker.io/python:3.9

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

docker.io/python:3.13.0

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

docker.io/python:3.9.16-bullseye

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

docker.io/python:3.9.16-slim-bullseye

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

docker.io/python:3.8.16-slim-buster

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

docker.io/python:3.13.0-slim-bullseye

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

docker.io/python:3.11.1

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

docker.io/python:3.10-slim-bookworm

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

docker.io/python:2.7.18

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

docker.io/python:3.10.15-bullseye

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

docker.io/python:3.10.15-bookworm

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

docker.io/python:3.7.17

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

docker.io/python:3.8-slim

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

docker.io/python:3.6.11

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

docker.io/python:3.6.12

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

docker.io/python:3.6.11

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

docker.io/python:3.10-slim-bookworm

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

docker.io/python:3.13-slim

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

docker.io/python:3.12.7-alpine

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

docker.io/python:3.12.7-slim

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

docker.io/python:3.11.8-slim

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

docker.io/python:3.11.8-alpine3.18

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

docker.io/python:3.9-slim

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

docker.io/python:3.12-slim-bookworm

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

docker.io/python:3.7.5

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

docker.io/python:3.11.10-slim-bullseye

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

docker.io/python:3.11-slim-buster

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

docker.io/python:3.11.10

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

docker.io/python:3.11.10-slim-bookworm

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

docker.io/python:3.10-alpine

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

docker.io/python:3.10.12

linux/amd64 docker.io1.00GB2024-12-27 22:10
183

docker.io/python:3.10.12

linux/arm64 docker.io1.01GB2024-12-27 22:13
333

docker.io/python:3.7

linux/amd64 docker.io993.93MB2024-12-30 21:54
138

docker.io/python:3.9-alpine

linux/arm64 docker.io53.57MB2025-01-07 20:57
111

docker.io/python:3.9.19

linux/amd64 docker.io995.95MB2025-01-08 16:44
161

docker.io/python:3.9.19

linux/arm64 docker.io1.00GB2025-01-08 16:52
129

docker.io/python:3.9.19-alpine

linux/amd64 docker.io47.70MB2025-01-08 19:46
134

docker.io/python:3.9.19-alpine

linux/arm64 docker.io53.17MB2025-01-08 19:48
113

docker.io/python:3.10.16-slim

linux/amd64 docker.io127.19MB2025-01-15 03:44
193

docker.io/python:3.12.8-bullseye

linux/amd64 docker.io930.07MB2025-01-16 17:56
141

docker.io/python:3.6-alpine

linux/amd64 docker.io40.67MB2025-01-19 14:31
212

docker.io/python:3.13.2

linux/amd64 docker.io1.02GB2025-02-10 17:35
168

docker.io/python:3.12.9-bullseye

linux/amd64 docker.io930.17MB2025-02-12 15:01
107

docker.io/python:3.8.20

linux/amd64 docker.io995.37MB2025-02-13 00:47
106

docker.io/python:3.7-slim-buster

linux/amd64 docker.io115.30MB2025-03-06 16:13
57

docker.io/python:3.11-slim

linux/arm64 docker.io155.40MB2025-03-08 09:27
103

docker.io/python:bookworm

linux/amd64 docker.io1.02GB2025-03-10 18:49
89

docker.io/python:3.12.9-slim

linux/amd64 docker.io124.41MB2025-03-18 14:07
80

docker.io/python:3.10-alpine3.20

linux/arm64 docker.io55.98MB2025-03-20 15:00
61

docker.io/python:3.11.10-bookworm

linux/arm docker.io780.46MB2025-03-20 15:24
32

docker.io/python:3.11.10-bookworm

linux/arm64 docker.io1.01GB2025-03-20 15:27
48

docker.io/python:3.12.9-slim

linux/arm64 docker.io150.06MB2025-03-21 11:33
47

docker.io/python:3.11.7-slim-bookworm

linux/amd64 docker.io130.62MB2025-03-25 14:47
32

docker.io/python:3.12-alpine

linux/amd64 docker.io48.36MB2025-03-31 10:27
24

docker.io/python:3.12-slim

linux/arm64 docker.io150.06MB2025-04-01 22:49
22

docker.io/python:3.11-alpine3.21

linux/amd64 docker.io53.80MB2025-04-02 14:26
9