docker.io/library/python:3.10-slim linux/arm64

docker.io/library/python:3.10-slim - 国内下载镜像源 浏览次数:187 安全受验证的发布者-Docker 温馨提示: 这是一个 linux/arm64 系统架构镜像
根据 Docker Hub 上的信息,`docker.io/library/python` 镜像的描述是:

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

源镜像 docker.io/library/python:3.10-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-linuxarm64
镜像ID sha256:650e4e91c7fe9a12b913669767cca583eb1a5501b1813842bb79a828fc30d247
镜像TAG 3.10-slim-linuxarm64
大小 152.87MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录
OS/平台 linux/arm64
浏览量 187 次
贡献者 51******1@qq.com
镜像创建 2024-09-09T17:16:05Z
同步时间 2024-10-14 14:11
更新时间 2024-11-20 21:52
环境变量
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.15

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-linuxarm64  docker.io/library/python:3.10-slim

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#library/python:3.10-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-linuxarm64#' 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-slim-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-linuxarm64  docker.io/library/python:3.10-slim'

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-09-10 01:16:05 CMD ["python3"]
36.00B 2024-09-10 01:16:05 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
46.58MB 2024-09-10 01:16:05 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-lto --with-system-expat --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:-}" "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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit
0.00B 2024-09-10 01:16:05 ENV PYTHON_VERSION=3.10.15
0.00B 2024-09-10 01:16:05 ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
9.17MB 2024-09-10 01:16:05 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-09-10 01:16:05 ENV LANG=C.UTF-8
0.00B 2024-09-10 01:16:05 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-09-10 01:16:05 /bin/sh -c #(nop) CMD ["bash"]
97.11MB 2024-09-10 01:16:05 /bin/sh -c #(nop) ADD file:28df1cb6a6576d40b5226851d0a6a76ffd5d1c94644ee441490b74a90f29f425 in /

镜像信息

{
    "Id": "sha256:650e4e91c7fe9a12b913669767cca583eb1a5501b1813842bb79a828fc30d247",
    "RepoTags": [
        "python:3.10-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python:3.10-slim-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/python@sha256:316b90d36c9b5c419a4b81fa79222d953c33e34fbd3d3e5f63de2603163efffe"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-09T17:16:05Z",
    "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.15"
        ],
        "Cmd": [
            "python3"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 152866891,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4dc7f896b64a26588d290972195ceeb593e418d15b19e929d4126ba2cb3e9abd/diff:/var/lib/docker/overlay2/8997ace9233744457cea23552d8fdf5d9d073ed8e679b651acb957c9e866d16e/diff:/var/lib/docker/overlay2/43825a03defc06a5646c1a33cbfd371f971b367c29f2ff0142513ce70a1f724a/diff",
            "MergedDir": "/var/lib/docker/overlay2/e2e9b8e4210f4691a6f2800da23f2d941107a5ad4ed5e41fc845c17fb77cf59a/merged",
            "UpperDir": "/var/lib/docker/overlay2/e2e9b8e4210f4691a6f2800da23f2d941107a5ad4ed5e41fc845c17fb77cf59a/diff",
            "WorkDir": "/var/lib/docker/overlay2/e2e9b8e4210f4691a6f2800da23f2d941107a5ad4ed5e41fc845c17fb77cf59a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:054df1200f3e1d70e2ebeafa03c965d0dd34e7dab90b4ea24963352e5590b573",
            "sha256:01183e0d6e038c10d9713a231659675a52e92ec5b3c95304a03eba3933a0dd84",
            "sha256:787246ee5c7b4fcf334997823c9df23d456ae759a0e9b95735c5085830e75a84",
            "sha256:864eb10b305911d7c04872ad21d6c4386faae367feccf2fd511e67414e74408c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-14T14:11:42.700717396+08:00"
    }
}

更多版本

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

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

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
186

docker.io/library/python:3-alpine

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