docker.io/dockeruserdou/oom-py:latest linux/amd64

docker.io/dockeruserdou/oom-py:latest - 国内下载镜像源 浏览次数:34

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

```html

这是一个名为docker.io/dockeruserdou/oom-py的Docker容器镜像。 具体描述信息需要根据镜像构建者提供的元数据才能得知。 通常情况下,该镜像可能包含一个用Python编写的程序,该程序容易出现内存不足(Out Of Memory,OOM)错误, 该镜像可能用于测试或演示OOM情况,或者是一个包含OOM处理机制的Python应用。

```
源镜像 docker.io/dockeruserdou/oom-py:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest
镜像ID sha256:0d7c0e60a7a5109d36d1f262528ccce46ec659b929a1801138de82031adee4e5
镜像TAG latest
大小 1.01GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python app.py
启动入口
工作目录 /app
OS/平台 linux/amd64
浏览量 34 次
贡献者 27*******2@qq.com
镜像创建 2024-12-26T10:03:00.831844968+08:00
同步时间 2024-12-26 10:48
更新时间 2025-01-18 04:51
环境变量
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
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-26 10:50

低危漏洞:549 中危漏洞:441 高危漏洞:103 严重漏洞:6

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest  docker.io/dockeruserdou/oom-py:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest  docker.io/dockeruserdou/oom-py:latest

Shell快速替换命令

sed -i 's#dockeruserdou/oom-py:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest  docker.io/dockeruserdou/oom-py:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest  docker.io/dockeruserdou/oom-py:latest'

镜像构建历史


# 2024-12-26 10:03:00  0.00B 设置默认要执行的命令
CMD ["python" "app.py"]
                        
# 2024-12-26 10:03:00  226.00B 复制新文件或目录到容器中
COPY app.py /app/ # buildkit
                        
# 2024-12-25 18:12:35  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-12-04 06:49:59  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-12-04 06:49:59  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-04 06:49:59  64.29MB 执行命令并创建新的镜像层
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"; 	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-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-lto 		--with-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; 	LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 	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; 		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; 		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-04 06:49:59  0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=2a9920c7a0cd236de33644ed980a13cbbc21058bfdc528febb6081575ed73be3
                        
# 2024-12-04 06:49:59  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.11
                        
# 2024-12-04 06:49:59  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2024-12-04 06:49:59  17.78MB 执行命令并创建新的镜像层
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
                        
# 2024-12-04 06:49:59  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-12-04 06:49:59  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-01-09 09:14:25  587.55MB 执行命令并创建新的镜像层
RUN /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/* # buildkit
                        
# 2024-01-09 09:14:25  177.11MB 执行命令并创建新的镜像层
RUN /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/* # buildkit
                        
# 2023-05-11 07:29:59  47.70MB 执行命令并创建新的镜像层
RUN /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/* # buildkit
                        
# 2023-05-11 07:29:59  116.56MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000'
                        
                    

镜像信息

{
    "Id": "sha256:0d7c0e60a7a5109d36d1f262528ccce46ec659b929a1801138de82031adee4e5",
    "RepoTags": [
        "dockeruserdou/oom-py:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py:latest"
    ],
    "RepoDigests": [
        "dockeruserdou/oom-py@sha256:fa56d297f75d50bdc9336e4438073f4760f106847524b2bcedcd6b16163dff8a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dockeruserdou/oom-py@sha256:fa56d297f75d50bdc9336e4438073f4760f106847524b2bcedcd6b16163dff8a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-26T10:03:00.831844968+08:00",
    "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": [
            "python",
            "app.py"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1010976440,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1b09924d19c172a3633adb7cc5cf30c513e2d5f882d0377e2d85172183193bc8/diff:/var/lib/docker/overlay2/b0c7be81f68cd37416f698ec5e6e5e2f091594b746b5a9fc9f51dce4f60a71cd/diff:/var/lib/docker/overlay2/c0d8dfcecdb677fbc35e008ad9222703b69fffb36b062370b5edcd3428c31d97/diff:/var/lib/docker/overlay2/5aec86f0137664b02ff99150f42a53509b196ad57276981418b8256ae397cb99/diff:/var/lib/docker/overlay2/0e56c3ad93479b9d9751bbc33769b193017dd8aa7d8a8111978a230ec3122a33/diff:/var/lib/docker/overlay2/2cd4e513e41d1ce1529e6abd3066a689fd1ee45ec2c62907199a51ffa4136819/diff:/var/lib/docker/overlay2/4ff8b39162dfbc157e7db17cee14021b3c4ed47284aab7aed75629cce5108684/diff:/var/lib/docker/overlay2/df4e062e0c9b485100cc45c4de9b70594ef64c138a5b45072fea56ba010d7fef/diff",
            "MergedDir": "/var/lib/docker/overlay2/6e8e3b6df22f02df0a6271e375f69da425caa5ab0747b894d5078c4069f5a7e2/merged",
            "UpperDir": "/var/lib/docker/overlay2/6e8e3b6df22f02df0a6271e375f69da425caa5ab0747b894d5078c4069f5a7e2/diff",
            "WorkDir": "/var/lib/docker/overlay2/6e8e3b6df22f02df0a6271e375f69da425caa5ab0747b894d5078c4069f5a7e2/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2f7b6d216a3789349a676b1a41c31217db16834e2d2a1adc069b7277178d81e0",
            "sha256:a4fd1e7df47eac711b46d4d4e9517ce234c3a10bcb3631806869d8b2056ec283",
            "sha256:85c6f0cfb532bb4b293242303ce74525e95501bd9b9b211e8f1a62214760a923",
            "sha256:6d58389117c36ee9212b3fca9d54044f265655d28ce0857a45af5fabab7f7ea6",
            "sha256:4f2d8b8f492100480c36118c1009d6098fbb06bf3ffd463d15e1d6affb842fb7",
            "sha256:6a2c4ec060cebe8cca1776bdbfde59bf23c507200953c137cec1ac0b4652db93",
            "sha256:ae7b5371b68ae8dcc0422f92573357d114ba7f76d47a38423e14a1f068616eda",
            "sha256:53d60e104c2ae1ea3d03489de6a883f0d46f903b26c7820ee5b015974c4add7a",
            "sha256:147b8bd1023257ace9193e723bd1de603d1b0f10846b39f7164438298a38cfda"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-26T10:47:49.946461153+08:00"
    }
}

更多版本

docker.io/dockeruserdou/oom-py:latest

linux/amd64 docker.io1.01GB2024-12-26 10:48
33