docker.io/python:3.9-alpine linux/amd64

docker.io/python:3.9-alpine - 国内下载镜像源 浏览次数:592
🐳 Python Docker Image: .NET Framework 3.5/4.6/5.0 on Ubuntu/Linux
源镜像 docker.io/python:3.9-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-alpine
镜像ID sha256:0ecc415ca08af40505957d3e78f0a8ed4412e4093ba7a71c9960302c67fbee54
镜像TAG 3.9-alpine
大小 48.00MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录
OS/平台 linux/amd64
浏览量 592 次
贡献者
镜像创建 2024-05-22T12:26:30Z
同步时间 2024-06-29 09:52
更新时间 2024-11-21 17:41
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568 PYTHON_VERSION=3.9.19 PYTHON_PIP_VERSION=23.0.1 PYTHON_SETUPTOOLS_VERSION=58.1.0 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-alpine  docker.io/python:3.9-alpine

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-alpine
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-alpine  docker.io/python:3.9-alpine

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-05-22 20:26:30 CMD ["python3"]
9.91MB 2024-05-22 20:26:30 RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit
0.00B 2024-05-22 20:26:30 ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
0.00B 2024-05-22 20:26:30 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
0.00B 2024-05-22 20:26:30 ENV PYTHON_SETUPTOOLS_VERSION=58.1.0
0.00B 2024-05-22 20:26:30 ENV PYTHON_PIP_VERSION=23.0.1
32.00B 2024-05-22 20:26:30 RUN /bin/sh -c set -eux; for src in idle3 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
29.28MB 2024-05-22 20:26:30 RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev 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"; 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-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" 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; python3 --version # buildkit
0.00B 2024-05-22 20:26:30 ENV PYTHON_VERSION=3.9.19
0.00B 2024-05-22 20:26:30 ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
1.02MB 2024-05-22 20:26:30 RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
0.00B 2024-05-22 20:26:30 ENV LANG=C.UTF-8
0.00B 2024-05-22 20:26:30 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-05-22 20:26:30 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-05-22 20:26:30 /bin/sh -c #(nop) ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in /

镜像信息

{
    "Id": "sha256:0ecc415ca08af40505957d3e78f0a8ed4412e4093ba7a71c9960302c67fbee54",
    "RepoTags": [
        "python:3.9-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-alpine"
    ],
    "RepoDigests": [
        "python@sha256:f2fffcd6d67fe80dbc4e82b49ab3797791aac8d6f2b9520426fc8b260cb47997",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:d6a41152efab4458479a9fb7aafb54338431adaf7e6fe46b95e77ba0477f65b9"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-05-22T12:26:30Z",
    "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=E3FF2839C048B25C084DEBE9B26995E310250568",
            "PYTHON_VERSION=3.9.19",
            "PYTHON_PIP_VERSION=23.0.1",
            "PYTHON_SETUPTOOLS_VERSION=58.1.0",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9"
        ],
        "Cmd": [
            "python3"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 48004212,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3afe3fea31ce3b7ff40c190a52ee495dcc5b62601195d1392674ee00c92bc3eb/diff:/var/lib/docker/overlay2/e820f0eb7019e6e14458669103d13e6457f6abb84716406b2e852fbb69763d68/diff:/var/lib/docker/overlay2/d11c59682d955021171773d8888a84a7a7c5fc50267fb3061e42e04e6d452e80/diff:/var/lib/docker/overlay2/984bb007f5969551b53fa1fce3296c2df39ab51a6831eab684250ac7efdbac0c/diff",
            "MergedDir": "/var/lib/docker/overlay2/4851c9766e635094a66a1ed4ccebe5f02cc3e5f218c9b522594fff06910af154/merged",
            "UpperDir": "/var/lib/docker/overlay2/4851c9766e635094a66a1ed4ccebe5f02cc3e5f218c9b522594fff06910af154/diff",
            "WorkDir": "/var/lib/docker/overlay2/4851c9766e635094a66a1ed4ccebe5f02cc3e5f218c9b522594fff06910af154/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:94e5f06ff8e3d4441dc3cd8b090ff38dc911bfa8ebdb0dc28395bc98f82f983f",
            "sha256:2f17b89a8f16bbdc41c2e9a0ddc5df59aae6da5a388e3ff693fa7a56c3d45386",
            "sha256:28cc9ff69bce1a88e4b306a11ca1349704608eb500f46e0de69358631635afc9",
            "sha256:d6d9c2ba67324138ac6ea330abe556f0aad471db260de3ef804515418b5ff753",
            "sha256:a3044b1bff7c3c8c5d799a82235c89ae0d1ed5e5ab7b9e5b7ddda98f9a4ab0c8"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-06-29T09:52:43.333363451+08:00"
    }
}

更多版本

docker.io/python:3.11.9-alpine3.18

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

docker.io/python:3.10-alpine3.20

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

docker.io/python:alpine3.20

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

docker.io/python:3.11-slim-bookworm

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

docker.io/python:3.12-alpine

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

docker.io/python:3.12.4-alpine

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

docker.io/python:3.9-alpine

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

docker.io/python:3.12-slim

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

docker.io/python:3.10.14

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

docker.io/python:3-slim

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

docker.io/python:3.12

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

docker.io/python:3.9-slim

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

docker.io/python:3.9-slim-bookworm

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

docker.io/python:3.11

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

docker.io/python:3.11.9

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

docker.io/python:3.11-slim

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

docker.io/python:3.12.5-slim-bullseye

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

docker.io/python:3.12.5-bullseye

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

docker.io/python:3.11.9-slim-bullseye

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

docker.io/python:3.12.5-bookworm

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

docker.io/python:3.10.14-bookworm

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

docker.io/python:2.7

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

docker.io/python:3.10.11-slim-buster

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

docker.io/python:3.6.15-alpine

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

docker.io/python:3.11.10-bookworm

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

docker.io/python:3.10-slim

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

docker.io/python:3.9

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

docker.io/python:3.13.0

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

docker.io/python:3.9.16-bullseye

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

docker.io/python:3.9.16-slim-bullseye

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

docker.io/python:3.8.16-slim-buster

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

docker.io/python:3.13.0-slim-bullseye

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

docker.io/python:3.11.1

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

docker.io/python:3.10-slim-bookworm

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

docker.io/python:2.7.18

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

docker.io/python:3.10.15-bullseye

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

docker.io/python:3.10.15-bookworm

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

docker.io/python:3.7.17

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

docker.io/python:3.8-slim

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

docker.io/python:3.6.11

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

docker.io/python:3.6.12

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

docker.io/python:3.6.11

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

docker.io/python:3.10-slim-bookworm

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

docker.io/python:3.13-slim

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

docker.io/python:3.12.7-alpine

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

docker.io/python:3.12.7-slim

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