docker.io/library/python:3.10.14-bookworm linux/amd64

docker.io/library/python:3.10.14-bookworm - 国内下载镜像源 浏览次数:367 安全受验证的发布者-Docker
根据 Docker Hub 上的信息,`docker.io/library/python` 镜像的描述是:

Python 是一种高级语言,可以用来编写各种应用程序、脚本和工具。这个镜像提供了 Python 3.x 的主要版本,可以在其中安装各种库和框架,例如 NumPy、pandas 和 Flask 等。

源镜像 docker.io/library/python:3.10.14-bookworm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10.14-bookworm
镜像ID sha256:6905cae1f812b8c17ad0a8c5a4690420aaf1f7fc8834dd1a9b555010ffe1dac0
镜像TAG 3.10.14-bookworm
大小 1.00GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录
OS/平台 linux/amd64
浏览量 367 次
贡献者
镜像创建 2024-06-26T21:49:12Z
同步时间 2024-07-05 08:55
更新时间 2024-11-21 14:09
环境变量
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.10.14 PYTHON_PIP_VERSION=23.0.1 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/ac00c61f60b2df101b7cdf90ed319b625ac93b42/public/get-pip.py PYTHON_GET_PIP_SHA256=0f8bb2652c0b0965f268312f49ec21e772d421d381af4324beea66b8acf2635c

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-06-27 05:49:12 CMD ["python3"]
11.02MB 2024-06-27 05:49:12 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-06-27 05:49:12 ENV PYTHON_GET_PIP_SHA256=0f8bb2652c0b0965f268312f49ec21e772d421d381af4324beea66b8acf2635c
0.00B 2024-06-27 05:49:12 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/ac00c61f60b2df101b7cdf90ed319b625ac93b42/public/get-pip.py
0.00B 2024-06-27 05:49:12 ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
0.00B 2024-06-27 05:49:12 ENV PYTHON_PIP_VERSION=23.0.1
32.00B 2024-06-27 05:49:12 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
42.33MB 2024-06-27 05:49:12 RUN /bin/sh -c set -eux; 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-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 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; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; 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; python3 --version # buildkit
0.00B 2024-06-27 05:49:12 ENV PYTHON_VERSION=3.10.14
0.00B 2024-06-27 05:49:12 ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
17.78MB 2024-06-27 05:49:12 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-06-27 05:49:12 ENV LANG=C.UTF-8
0.00B 2024-06-27 05:49:12 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
587.40MB 2024-06-27 05:49:12 /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/*
176.69MB 2024-06-27 05:49:12 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/*
48.43MB 2024-06-27 05:49:12 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
0.00B 2024-06-27 05:49:12 /bin/sh -c #(nop) CMD ["bash"]
116.51MB 2024-06-27 05:49:12 /bin/sh -c #(nop) ADD file:e8aac9b1598114ead96b4038c19d915b87f662ef342291d69c7e5255c5d731fc in /

镜像信息

{
    "Id": "sha256:6905cae1f812b8c17ad0a8c5a4690420aaf1f7fc8834dd1a9b555010ffe1dac0",
    "RepoTags": [
        "python:3.10.14-bookworm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10.14-bookworm"
    ],
    "RepoDigests": [
        "python@sha256:506eee363017f0b9c7f06f4839e7db90d1001094882e8cff08c8261ba2e05be2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python@sha256:fb7b88ec4d5371e715e5cc4003dee0aa6d59fe744ed2dcba9b1586b686ff7d3b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-26T21:49:12Z",
    "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.10.14",
            "PYTHON_PIP_VERSION=23.0.1",
            "PYTHON_SETUPTOOLS_VERSION=65.5.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/ac00c61f60b2df101b7cdf90ed319b625ac93b42/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=0f8bb2652c0b0965f268312f49ec21e772d421d381af4324beea66b8acf2635c"
        ],
        "Cmd": [
            "python3"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1000163266,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c900edc0a3a5eefe283eb789a864fc7a36c07dd35081525c3eec4a7e29e3e833/diff:/var/lib/docker/overlay2/ba93b9c37ca272c093499d2cfef9263e035245b1f0bdc8bb27073f58b69f7ad9/diff:/var/lib/docker/overlay2/5431b21dabb4b6d2261e403c5cc101d5d7997a216f6f958e8bef2fe2115f6f03/diff:/var/lib/docker/overlay2/081eec90a94e5dd0d9ab8013fbac81859b256440602d5e06ec61a546e9e8abe0/diff:/var/lib/docker/overlay2/86dbb97ce02935d7e917d17d9f09135a81f4dbc85a2337781b851a09bd521407/diff:/var/lib/docker/overlay2/bcfcee8f9acd5a8f0a6ea0cebbf2438c53e3d68a9307715e8808c5e37d1724e6/diff:/var/lib/docker/overlay2/31b2376e623c3d2fb7af38f0bf58bc426749ab5a927bfaea9888182b8bcdb812/diff",
            "MergedDir": "/var/lib/docker/overlay2/c47822ac86ec44962d4146131b5aea3bb9dd253e6a8e4f3f77b5820ecb35c8fd/merged",
            "UpperDir": "/var/lib/docker/overlay2/c47822ac86ec44962d4146131b5aea3bb9dd253e6a8e4f3f77b5820ecb35c8fd/diff",
            "WorkDir": "/var/lib/docker/overlay2/c47822ac86ec44962d4146131b5aea3bb9dd253e6a8e4f3f77b5820ecb35c8fd/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:15bb10f9bb3af155537c0f594b736881ca625d0e9bcd6f948588f78aec30a710",
            "sha256:8ada682d37800f71d01a827d77502ce654d9e064837547f3e80fae814d24b187",
            "sha256:b779a72428fa92f24ed5a591dce6ff965ae2baf39e48a22bf88d46d62a80e4ab",
            "sha256:b11bb163e2634aaf7a61de5842b1092b9b85f4f543a93061cde332b747beedf5",
            "sha256:0286a57d9d8681ca242d16e41720ca27b13a9b4a8044424027d7f405786c977b",
            "sha256:f6c5335edc76791421fbdd0baa1cf02f188e5c164983be293b457343fa21b4bc",
            "sha256:70071953a2c703806d119d24ce05e7996cf2950fc75e4fe4d1a035454779d0bd",
            "sha256:23dd121a5437effd2cf979a392c41b049d2f0f4c607acc88520c78a6d88f7872"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-05T08:55:26.423851467+08:00"
    }
}

更多版本

docker.io/library/python:3.10-slim-bullseye

linux/amd64 docker.io125.60MB2024-06-12 23:34
1747

docker.io/library/python:3.6

linux/amd64 docker.io901.66MB2024-06-16 16:51
359

docker.io/library/python:3.8.2

linux/amd64 docker.io933.54MB2024-06-18 10:23
318

docker.io/library/python:3.10.14-bookworm

linux/amd64 docker.io1.00GB2024-07-05 08:55
366

docker.io/library/python:3.10

linux/amd64 docker.io1.00GB2024-07-24 15:49
992

docker.io/library/python:3.6-slim

linux/amd64 docker.io119.19MB2024-07-30 21:11
197

docker.io/library/python:3.8

linux/amd64 docker.io994.56MB2024-08-09 12:05
693

docker.io/library/python:3.8.19

linux/amd64 docker.io994.66MB2024-09-23 20:29
144

docker.io/library/python:3.8.20-alpine3.19

linux/amd64 docker.io47.66MB2024-10-09 11:25
150

docker.io/library/python:3.7.17-alpine3.18

linux/amd64 docker.io46.61MB2024-10-11 14:25
102

docker.io/library/python:3.10-slim

linux/arm64 docker.io152.87MB2024-10-14 14:11
187

docker.io/library/python:3-alpine

linux/amd64 docker.io50.29MB2024-11-20 16:15
12