docker.io/python:3.9-slim-bookworm linux/amd64

docker.io/python:3.9-slim-bookworm - 国内下载镜像源 浏览次数:252
🐳 Python Docker Image: .NET Framework 3.5/4.6/5.0 on Ubuntu/Linux
源镜像 docker.io/python:3.9-slim-bookworm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-slim-bookworm
镜像ID sha256:c21985b6cbb254ab1c851bfcfd40a34e84205ec572f5a418376d1613f2b1255f
镜像TAG 3.9-slim-bookworm
大小 125.32MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录
OS/平台 linux/amd64
浏览量 252 次
贡献者 10*******2@qq.com
镜像创建 2024-07-29T11:24:38Z
同步时间 2024-08-11 16:38
更新时间 2024-12-10 14:49
环境变量
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/66d8a0f637083e2c3ddffc0cb1e65ce126afb856/public/get-pip.py PYTHON_GET_PIP_SHA256=6fb7b781206356f45ad79efbb19322caa6c2a5ad39092d0d44d0fec94117e118

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-29 19:24:38 CMD ["python3"]
10.01MB 2024-07-29 19:24:38 RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; 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-07-29 19:24:38 ENV PYTHON_GET_PIP_SHA256=6fb7b781206356f45ad79efbb19322caa6c2a5ad39092d0d44d0fec94117e118
0.00B 2024-07-29 19:24:38 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66d8a0f637083e2c3ddffc0cb1e65ce126afb856/public/get-pip.py
0.00B 2024-07-29 19:24:38 ENV PYTHON_SETUPTOOLS_VERSION=58.1.0
0.00B 2024-07-29 19:24:38 ENV PYTHON_PIP_VERSION=23.0.1
32.00B 2024-07-29 19:24:38 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
31.31MB 2024-07-29 19:24:38 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 libexpat1-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"; 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="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 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 '{}' + ; 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/*; python3 --version # buildkit
0.00B 2024-07-29 19:24:38 ENV PYTHON_VERSION=3.9.19
0.00B 2024-07-29 19:24:38 ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
9.23MB 2024-07-29 19:24:38 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
0.00B 2024-07-29 19:24:38 ENV LANG=C.UTF-8
0.00B 2024-07-29 19:24:38 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-07-23 13:24:16 /bin/sh -c #(nop) CMD ["bash"]
74.78MB 2024-07-23 13:24:15 /bin/sh -c #(nop) ADD file:6c4730e7b12278bc7eb83b3b9d659437c92c42fc7ee70922ae8c4bebfb56a602 in /

镜像信息

{
    "Id": "sha256:c21985b6cbb254ab1c851bfcfd40a34e84205ec572f5a418376d1613f2b1255f",
    "RepoTags": [
        "python:3.9-slim",
        "python:3.9-slim-bookworm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.9-slim-bookworm"
    ],
    "RepoDigests": [
        "python@sha256:85c7a2a383a01e0b77b5f9c97d8b1eef70409a99552fde03c518a98dfa19609c",
        "python@sha256:990eb8f30571e0aaabfa1a7deb9fe2f6c1d4163a389004fbf823db6fee7c3642",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:7b223131637329f41843207a9d1d63d1fc01b6564d3d2bd904f5adfb5ed420d7"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-29T11:24:38Z",
    "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/66d8a0f637083e2c3ddffc0cb1e65ce126afb856/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=6fb7b781206356f45ad79efbb19322caa6c2a5ad39092d0d44d0fec94117e118"
        ],
        "Cmd": [
            "python3"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 125322970,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6087417c4d27cd5b1238371641003b861fda8cf274d4027daeb03fd2805b0d60/diff:/var/lib/docker/overlay2/e12ebf39f3b1e94111c56ba7595aeef32a040fc628aa42364d56014fc1d9a49f/diff:/var/lib/docker/overlay2/77ac19112cf3f954d05b9b92b4691fc31e2f786b610d7cd47312fa8cfc2c0015/diff:/var/lib/docker/overlay2/d5701a3790a457972a33516b4f1d7a80733d41290d122b5ba9bbae079fd2dc0b/diff",
            "MergedDir": "/var/lib/docker/overlay2/d9920ec6e6e72c7c3a0093258e63ca95afebfce3260dc63ed6baf78861338cd7/merged",
            "UpperDir": "/var/lib/docker/overlay2/d9920ec6e6e72c7c3a0093258e63ca95afebfce3260dc63ed6baf78861338cd7/diff",
            "WorkDir": "/var/lib/docker/overlay2/d9920ec6e6e72c7c3a0093258e63ca95afebfce3260dc63ed6baf78861338cd7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e0781bc8667fb5ebf954df4ae52997f6f5568ec9f07e21e5db7c9d324ed41e1f",
            "sha256:cc2286334a7b859aa0ec5587bed4005b2fae27a61f5e4843dd01dfee6ecf185b",
            "sha256:d42276be00b539521cf3a61a5e7b7559f570ca9086b8292bc9e24086a137b524",
            "sha256:f71fab544a97b53995586065bf69aa01f29f3872a311209f03300db323ff23aa",
            "sha256:ec6949936a528cbd8ad7cac0f8bf5373d741c0e16155ea68dbee7238410dd93c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-11T16:38:08.655569479+08:00"
    }
}

更多版本

docker.io/python:3.11.9-alpine3.18

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

docker.io/python:3.10-alpine3.20

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

docker.io/python:alpine3.20

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

docker.io/python:3.11-slim-bookworm

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

docker.io/python:3.12-alpine

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

docker.io/python:3.12.4-alpine

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

docker.io/python:3.9-alpine

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

docker.io/python:3.12-slim

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

docker.io/python:3.10.14

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

docker.io/python:3-slim

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

docker.io/python:3.12

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

docker.io/python:3.9-slim

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

docker.io/python:3.9-slim-bookworm

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

docker.io/python:3.11

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

docker.io/python:3.11.9

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

docker.io/python:3.11-slim

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

docker.io/python:3.12.5-slim-bullseye

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

docker.io/python:3.12.5-bullseye

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

docker.io/python:3.11.9-slim-bullseye

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

docker.io/python:3.12.5-bookworm

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

docker.io/python:3.10.14-bookworm

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

docker.io/python:2.7

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

docker.io/python:3.10.11-slim-buster

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

docker.io/python:3.6.15-alpine

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

docker.io/python:3.11.10-bookworm

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

docker.io/python:3.10-slim

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

docker.io/python:3.9

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

docker.io/python:3.13.0

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

docker.io/python:3.9.16-bullseye

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

docker.io/python:3.9.16-slim-bullseye

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

docker.io/python:3.8.16-slim-buster

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

docker.io/python:3.13.0-slim-bullseye

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

docker.io/python:3.11.1

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

docker.io/python:3.10-slim-bookworm

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

docker.io/python:2.7.18

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

docker.io/python:3.10.15-bullseye

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

docker.io/python:3.10.15-bookworm

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

docker.io/python:3.7.17

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

docker.io/python:3.8-slim

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

docker.io/python:3.6.11

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

docker.io/python:3.6.12

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

docker.io/python:3.6.11

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

docker.io/python:3.10-slim-bookworm

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

docker.io/python:3.13-slim

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

docker.io/python:3.12.7-alpine

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

docker.io/python:3.12.7-slim

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

docker.io/python:3.11.8-slim

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

docker.io/python:3.11.8-alpine3.18

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

docker.io/python:3.9-slim

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

docker.io/python:3.12-slim-bookworm

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

docker.io/python:3.7.5

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