docker.io/reajason/xhs-api:latest linux/amd64

docker.io/reajason/xhs-api:latest - 国内下载镜像源 浏览次数:36

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

```html

这是一个名为 docker.io/reajason/xhs-api 的 Docker 镜像。 它很可能提供了一个 小红书 API 的接口或服务。 具体功能需要参考镜像的文档或README文件来确定。

```
源镜像 docker.io/reajason/xhs-api:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest
镜像ID sha256:8f7039dad6f551d66c7028964cf7de3a28ed6da48f685cb73aefdc1b93f722be
镜像TAG latest
大小 2.12GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python -m flask run --host=0.0.0.0 --port=5005
启动入口
工作目录 /app
OS/平台 linux/amd64
浏览量 36 次
贡献者
镜像创建 2023-10-15T07:41:25.048052506Z
同步时间 2025-03-17 16:21
更新时间 2025-04-03 20:03
开放端口
5005/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
镜像标签
ReaJason: authors reajason1225@gmail.com: mail ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest  docker.io/reajason/xhs-api:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest  docker.io/reajason/xhs-api:latest

Shell快速替换命令

sed -i 's#reajason/xhs-api:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-10-15 15:41:25  0.00B 设置默认要执行的命令
CMD ["python" "-m" "flask" "run" "--host=0.0.0.0" "--port=5005"]
                        
# 2023-10-15 15:41:25  0.00B 声明容器运行时监听的端口
EXPOSE map[5005/tcp:{}]
                        
# 2023-10-15 15:41:25  180.46KB 执行命令并创建新的镜像层
RUN /bin/sh -c curl --insecure -L -o stealth.min.js  https://cdn.jsdelivr.net/gh/requireCool/stealth.min.js/stealth.min.js # buildkit
                        
# 2023-10-15 15:41:22  183.34MB 执行命令并创建新的镜像层
RUN /bin/sh -c python -m pip install --upgrade pip     && pip install Flask gevent xhs playwright     && rm -rf /var/lib/apt/lists/*ç # buildkit
                        
# 2023-10-15 15:40:38  47.27MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex     && apt-get update     && apt-get install -y --no-install-recommends curl # buildkit
                        
# 2023-10-15 15:40:09  1.88KB 复制新文件或目录到容器中
COPY app.py . # buildkit
                        
# 2023-10-15 15:40:09  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2023-10-15 15:40:09  0.00B 添加元数据标签
LABEL mail=reajason1225@gmail.com
                        
# 2023-10-15 15:40:09  0.00B 添加元数据标签
LABEL authors=ReaJason
                        
# 2023-09-19 06:33:56  1.62GB 执行命令并创建新的镜像层
RUN |3 DEBIAN_FRONTEND=noninteractive TZ=America/Los_Angeles DOCKER_IMAGE_NAME_TEMPLATE=mcr.microsoft.com/playwright/python:v%version%-jammy /bin/sh -c mkdir /ms-playwright &&     mkdir /ms-playwright-agent &&     cd /ms-playwright-agent &&     pip install virtualenv &&     virtualenv venv &&     . venv/bin/activate &&     if [ "$(uname -m)" = "x86_64" ]; then pip install /tmp/*manylinux1_x86_64*.whl; fi &&     if [ "$(uname -m)" = "aarch64" ]; then pip install /tmp/*manylinux_2_17_aarch64*.whl; fi &&     playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" &&     playwright install --with-deps && rm -rf /var/lib/apt/lists/* &&     rm /tmp/*.whl &&     rm -rf /ms-playwright-agent &&     chmod -R 777 /ms-playwright # buildkit
                        
# 2023-09-19 06:32:48  70.71MB 复制新文件或目录到容器中
COPY ./dist/*-manylinux*.whl /tmp/ # buildkit
                        
# 2023-09-19 06:32:48  0.00B 设置环境变量 PLAYWRIGHT_BROWSERS_PATH
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
                        
# 2023-09-19 06:32:48  125.46MB 执行命令并创建新的镜像层
RUN |3 DEBIAN_FRONTEND=noninteractive TZ=America/Los_Angeles DOCKER_IMAGE_NAME_TEMPLATE=mcr.microsoft.com/playwright/python:v%version%-jammy /bin/sh -c apt-get update &&     apt-get install -y python3 python3-distutils curl &&     update-alternatives --install /usr/bin/python python /usr/bin/python3 1 &&     curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py &&     python get-pip.py &&     rm get-pip.py &&     apt-get install -y --no-install-recommends git openssh-client gpg &&     rm -rf /var/lib/apt/lists/* &&     adduser pwuser # buildkit
                        
# 2023-09-19 06:32:48  0.00B 定义构建参数
ARG DOCKER_IMAGE_NAME_TEMPLATE=mcr.microsoft.com/playwright/python:v%version%-jammy
                        
# 2023-09-19 06:32:48  0.00B 定义构建参数
ARG TZ=America/Los_Angeles
                        
# 2023-09-19 06:32:48  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2023-08-16 14:01:54  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-08-16 14:01:54  77.82MB 
/bin/sh -c #(nop) ADD file:aa9b51e9f0067860cebbc9930374452d1384ec3c59badb5e4733130eedc90329 in / 
                        
# 2023-08-16 14:01:52  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2023-08-16 14:01:52  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-08-16 14:01:52  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-08-16 14:01:52  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:8f7039dad6f551d66c7028964cf7de3a28ed6da48f685cb73aefdc1b93f722be",
    "RepoTags": [
        "reajason/xhs-api:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api:latest"
    ],
    "RepoDigests": [
        "reajason/xhs-api@sha256:35aa9a8b1a902fb4974c4e29c41fdfa801f9ef2649368194a1162f02837a489c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/reajason/xhs-api@sha256:59b291d0b595f8d6f4df2e6c62d72b52e9d53360675bfdad662c894fbdc3115d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-10-15T07:41:25.048052506Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5005/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PLAYWRIGHT_BROWSERS_PATH=/ms-playwright"
        ],
        "Cmd": [
            "python",
            "-m",
            "flask",
            "run",
            "--host=0.0.0.0",
            "--port=5005"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "authors": "ReaJason",
            "mail": "reajason1225@gmail.com",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2122316842,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5b534794ad2850831a4955820d07752b54add084cbed63d619b018bcea73fcfa/diff:/var/lib/docker/overlay2/7bc43d153f66712e1127b6b989a21bd0998f143b62cb94b615457ad1aea0af9d/diff:/var/lib/docker/overlay2/e7ebb00e9d4b67dc9bc3cb8057ccfae881ff13535c5585688ba112f6b1466722/diff:/var/lib/docker/overlay2/7aaaa85ff829a63efb1f94f4bd3edc8baa1446b5c4742e1ea470f21fdf240077/diff:/var/lib/docker/overlay2/3a9f5f88979656dcc6638132df60250bfb51cd574dfe385f68b3f72bace7ff57/diff:/var/lib/docker/overlay2/4a8a0d5ebb8fbf478379d0a5927634920c8cdaceee9188214727580e4b071ab1/diff:/var/lib/docker/overlay2/6c89ebf00b8aea017f6470ac203011b119412d5647d00dbb67d63e09052b260d/diff:/var/lib/docker/overlay2/3fda00e61de6a3490804cad4173f3314f2f3c05cec17708028948babd30ec416/diff",
            "MergedDir": "/var/lib/docker/overlay2/2d4c58e70f8693bb64f449f3bcad0dcee5399c1543f99c0712594916f0fe5e23/merged",
            "UpperDir": "/var/lib/docker/overlay2/2d4c58e70f8693bb64f449f3bcad0dcee5399c1543f99c0712594916f0fe5e23/diff",
            "WorkDir": "/var/lib/docker/overlay2/2d4c58e70f8693bb64f449f3bcad0dcee5399c1543f99c0712594916f0fe5e23/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:dc0585a4b8b71f7f4eb8f2e028067f88aec780d9ab40c948a8d431c1aeadeeb5",
            "sha256:35b1a8c42671c24db9844206a106527724f2475c399916b75678cd3f3c1f82a4",
            "sha256:8318526a5706b723a7e02cb6fd5406d380a2d3157086c4cb1907d93771e8bddb",
            "sha256:18dfc05b173654512128b54a66f1bc65c4f5590ef6318480fc76fc7430690120",
            "sha256:9fd69705982504e72971d4e4f808aaa61739d3309b7bee1436b94e216879c150",
            "sha256:1f92be6b24fb7d0e1ae00862197905ceaddcfe23a3f742a24f875eade7478a8e",
            "sha256:a2028be3665670ca76a1fff588d4196d862dceee9e4c568555ad01f60283e4a1",
            "sha256:0d9af644ff8397dbe14cc579dc76baa8872680c099188c777cf01b3782989723",
            "sha256:45a12db3fe061a62403c9a50710ec85a9137ae3d8ffd77441ae4bcbe01cbc90e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-17T16:19:28.070288816+08:00"
    }
}

更多版本

docker.io/reajason/xhs-api:latest

linux/amd64 docker.io2.12GB2025-03-17 16:21
35