docker.io/apecloud/xinference:latest-cpu linux/arm64

docker.io/apecloud/xinference:latest-cpu - 国内下载镜像源 浏览次数:25

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

温馨提示: 这是一个 linux/arm64 系统架构镜像
源镜像 docker.io/apecloud/xinference:latest-cpu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64
镜像ID sha256:edca574fb93d291dc26b97a4b083b0db9fbe90c6a4d5ddca3fbaa1162d970a1b
镜像TAG latest-cpu-linuxarm64
大小 2.40GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh -c xinference --host 0.0.0.0
启动入口
工作目录
OS/平台 linux/arm64
浏览量 25 次
贡献者 43******4@qq.com
镜像创建 2023-11-21T08:21:45.139857262Z
同步时间 2025-08-27 18:19
更新时间 2025-08-31 17:27
环境变量
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.12 PYTHON_PIP_VERSION=23.0.1 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64  docker.io/apecloud/xinference:latest-cpu

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64  docker.io/apecloud/xinference:latest-cpu

Shell快速替换命令

sed -i 's#apecloud/xinference:latest-cpu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64  docker.io/apecloud/xinference:latest-cpu'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64  docker.io/apecloud/xinference:latest-cpu'

镜像构建历史


# 2023-11-21 16:21:45  0.00B 设置默认要执行的命令
CMD ["/bin/sh" "-c" "xinference --host 0.0.0.0"]
                        
# 2023-11-21 16:21:45  40.51MB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install llama-cpp-python # buildkit
                        
# 2023-11-16 14:51:53  34.80MB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install ctransformers # buildkit
                        
# 2023-11-16 14:51:27  1.32GB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install "xinference" # buildkit
                        
# 2023-07-22 17:49:12  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2023-07-22 17:49:12  11.02MB 执行命令并创建新的镜像层
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
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=23.0.1
                        
# 2023-07-22 17:49:12  32.00B 执行命令并创建新的镜像层
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
                        
# 2023-07-22 17:49:12  45.55MB 执行命令并创建新的镜像层
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
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.10.12
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2023-07-22 17:49:12  19.09MB 执行命令并创建新的镜像层
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
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2023-07-22 17:49:12  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-08-16 09:22:51  559.70MB 
/bin/sh -c set -ex; 	apt-get update; 	apt-get install -y --no-install-recommends 		autoconf 		automake 		bzip2 		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 				$( 			if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then 				echo 'default-libmysqlclient-dev'; 			else 				echo 'libmysqlclient-dev'; 			fi 		) 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2023-08-16 09:21:56  182.65MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	&& rm -rf /var/lib/apt/lists/*
                        
# 2023-08-16 09:21:40  48.52MB 
/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/*
                        
# 2023-08-16 07:39:49  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2023-08-16 07:39:49  138.83MB 
/bin/sh -c #(nop) ADD file:ca43018e3d97d44b49e60fe002bb20834a74cc1163d7e95ad50d549f072de158 in / 
                        
                    

镜像信息

{
    "Id": "sha256:edca574fb93d291dc26b97a4b083b0db9fbe90c6a4d5ddca3fbaa1162d970a1b",
    "RepoTags": [
        "apecloud/xinference:latest-cpu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference:latest-cpu-linuxarm64"
    ],
    "RepoDigests": [
        "apecloud/xinference@sha256:d05275811b1287ac005d395c99338f4204bebc768212697b8f61938c107b1240",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apecloud/xinference@sha256:2a690759a3d7621525e395360535229d610a404330c953421c99d0c59e4b8aab"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-11-21T08:21:45.139857262Z",
    "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.12",
            "PYTHON_PIP_VERSION=23.0.1",
            "PYTHON_SETUPTOOLS_VERSION=65.5.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe"
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "xinference --host 0.0.0.0"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 2396680338,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6c705744e84dc4cb99c078f7bc286bb7c42d1bba3cfc07e2eaf400b81efa7ce5/diff:/var/lib/docker/overlay2/14e17eb054fb73c4db64bd52ec95f96ba10fa2f393cf43f29b340ebfeaac4405/diff:/var/lib/docker/overlay2/c67e3fcb8d50e7e89bcaee0bcf4929177ba51d6d815d995db3a6e6264c243a87/diff:/var/lib/docker/overlay2/53464f66fd23d0a6a5f8341493d51d17ce75adf4958077fb947716266d4d5f43/diff:/var/lib/docker/overlay2/1b4e9d1a171078249ad915ac1559d0c3905c3c8f8fc2bcd96d1e2aeb90b531dc/diff:/var/lib/docker/overlay2/166abc7daf8a4a2b44c58b59bca6fb35eacb15536f617f76fe9640f300d69486/diff:/var/lib/docker/overlay2/5dba291d3e4146483080e9dba8d43f474751f365008c4c2d0480261e80ee61a7/diff:/var/lib/docker/overlay2/77a5be4cedc6c918afe6f14d59a65af0cfd32ced5124b9c9474e54b700120301/diff:/var/lib/docker/overlay2/69275f72f6afb86bbe337312d3bb01d17b7d167d73f7503a50aa1ee919f63ce0/diff:/var/lib/docker/overlay2/47148ca9164db4614c1e4bdb03f2192611d2d099817cbb5767a9c81dded0ddda/diff",
            "MergedDir": "/var/lib/docker/overlay2/c96317b6e0d445a2a4e6ac5bb4c0beb316f616bdaa85296ef24f1998e26739a9/merged",
            "UpperDir": "/var/lib/docker/overlay2/c96317b6e0d445a2a4e6ac5bb4c0beb316f616bdaa85296ef24f1998e26739a9/diff",
            "WorkDir": "/var/lib/docker/overlay2/c96317b6e0d445a2a4e6ac5bb4c0beb316f616bdaa85296ef24f1998e26739a9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:7806df21f4c455687a53386a856fd9d6164a221c71ce420b7676ed17a6ee4e73",
            "sha256:3f61b501be538394578300b28d84af46f48639d5f427ce6e67288a26694af3fe",
            "sha256:af177303564b1f08ca640b8b785786025777972a5fcf20f576e9d623aeecba91",
            "sha256:9b56e6ac3d03b6ccfab4160c43448ad96a9d224ff310070b28825bb258cc555b",
            "sha256:e8b03412ba5cba5c860ba0c779530e9bf19b39bdc53a5eda92f603b4727c8048",
            "sha256:25ba4ced53aa531c9be912f1bca029c89bc26352face7350dfd116402b154e07",
            "sha256:7afb1fb71b5838c520d8ac51c3f655af67f9bb26ab82f8310a5bda3861c86132",
            "sha256:fa27da690d96f621df8ebc329aab5d6ebee6bbc07103daf4eaee803449829c2d",
            "sha256:138f4f87c2efc05e990b32702399af5a2726a272d491176728b2913bca5fbb7f",
            "sha256:8b760812d39a42d3887e6e5319dc2d5de719570e96419e17f1e667565610f5c1",
            "sha256:b6d3b1d4674793bf28480d8bdd01edc7fa631d29ed353ceef276c5e49d4cd4ed"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-27T18:17:53.064155227+08:00"
    }
}

更多版本

docker.io/apecloud/xinference:latest-cpu

linux/arm64 docker.io2.40GB2025-08-27 18:19
24