docker.io/makedie/fastapi-dls:latest linux/amd64

docker.io/makedie/fastapi-dls:latest - 国内下载镜像源 浏览次数:42

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

该 Docker 容器镜像名为 "docker.io/makedie/fastapi-dls",基于 FastAPI 框架构建,用于构建 DLS (Distributed Learning System) 分布式学习系统。

源镜像 docker.io/makedie/fastapi-dls:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest
镜像ID sha256:9f169e94de2cb8213211af0be746ca14558e25647e5e653cd60697dd48de5d94
镜像TAG latest
大小 729.31MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD uvicorn main:app --host 0.0.0.0 --port 443 --app-dir /app --proxy-headers --ssl-keyfile /app/cert/webserver.key --ssl-certfile /app/cert/webserver.crt
启动入口
工作目录
OS/平台 linux/amd64
浏览量 42 次
贡献者
镜像创建 2024-02-29T17:15:49.477416629Z
同步时间 2024-11-06 17:24
更新时间 2024-11-21 14:19
环境变量
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.8 PYTHON_PIP_VERSION=24.0 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.19.1 扫描引擎: Trivy 扫描时间: 2024-11-06 17:25

低危漏洞:6 中危漏洞:39 高危漏洞:18 严重漏洞:2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest  docker.io/makedie/fastapi-dls:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest  docker.io/makedie/fastapi-dls:latest

Shell快速替换命令

sed -i 's#makedie/fastapi-dls:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
5.05KB 2024-03-01 01:15:49 /bin/sh -c chmod -R a+rw /app/cert/*
5.05KB 2024-03-01 01:15:49 /bin/sh -c #(nop) COPY multi:cf6374a89c98fbe27abc400c3443f0132be240a140d010661bd421061535efab in /app/cert/
0.00B 2024-03-01 01:15:48 /bin/sh -c mkdir -p /app/cert
0.00B 2024-02-27 15:42:10 CMD ["uvicorn" "main:app" "--host" "0.0.0.0" "--port" "443" "--app-dir" "/app" "--proxy-headers" "--ssl-keyfile" "/app/cert/webserver.key" "--ssl-certfile" "/app/cert/webserver.crt"]
0.00B 2024-02-27 15:42:10 HEALTHCHECK &{["CMD-SHELL" "curl --insecure --fail https://localhost/-/health || exit 1"] "10s" "5s" "30s" "0s" '\x03'}
32.21KB 2024-02-27 15:42:10 COPY README.md /README.md # buildkit
31.96KB 2024-02-27 15:42:10 COPY app /app # buildkit
676.56MB 2024-02-27 15:42:10 RUN |2 VERSION=1.3.10 COMMIT=5b3959848710449495f26d635d0f178064d52d89 /bin/sh -c apk update && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconfig && apk add --no-cache curl postgresql postgresql-dev mariadb-dev sqlite-dev && pip install --no-cache-dir --upgrade uvicorn && pip install --no-cache-dir psycopg2==2.9.6 mysqlclient==2.2.0 pysqlite3==0.5.1 && pip install --no-cache-dir -r /tmp/requirements.txt && apk del build-deps # buildkit
162.00B 2024-02-27 15:30:52 COPY requirements.txt /tmp/requirements.txt # buildkit
63.00B 2024-02-27 15:30:52 RUN |2 VERSION=1.3.10 COMMIT=5b3959848710449495f26d635d0f178064d52d89 /bin/sh -c echo -e "VERSION=$VERSION\nCOMMIT=$COMMIT" > /version.env # buildkit
0.00B 2024-02-27 15:30:52 ARG COMMIT=
0.00B 2024-02-27 15:30:52 ARG VERSION
0.00B 2024-02-07 12:49:18 CMD ["python3"]
11.22MB 2024-02-07 12:49:18 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-02-07 12:49:18 ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
0.00B 2024-02-07 12:49:18 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
0.00B 2024-02-07 12:49:18 ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
0.00B 2024-02-07 12:49:18 ENV PYTHON_PIP_VERSION=24.0
32.00B 2024-02-07 12:49:18 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
32.43MB 2024-02-07 12:49:18 RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-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 --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit
0.00B 2024-02-07 12:49:18 ENV PYTHON_VERSION=3.11.8
0.00B 2024-02-07 12:49:18 ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
1.65MB 2024-02-07 12:49:18 RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
0.00B 2024-02-07 12:49:18 ENV LANG=C.UTF-8
0.00B 2024-02-07 12:49:18 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-01-27 08:30:48 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.38MB 2024-01-27 08:30:48 /bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /

镜像信息

{
    "Id": "sha256:9f169e94de2cb8213211af0be746ca14558e25647e5e653cd60697dd48de5d94",
    "RepoTags": [
        "makedie/fastapi-dls:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls:latest"
    ],
    "RepoDigests": [
        "makedie/fastapi-dls@sha256:0ecf2762925a3393da9637f69daa7bd84b34d5835ef2584082d1a4d4b02b0558",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/makedie/fastapi-dls@sha256:0ecf2762925a3393da9637f69daa7bd84b34d5835ef2584082d1a4d4b02b0558"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-02-29T17:15:49.477416629Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.17",
    "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.8",
            "PYTHON_PIP_VERSION=24.0",
            "PYTHON_SETUPTOOLS_VERSION=65.5.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9"
        ],
        "Cmd": [
            "uvicorn",
            "main:app",
            "--host",
            "0.0.0.0",
            "--port",
            "443",
            "--app-dir",
            "/app",
            "--proxy-headers",
            "--ssl-keyfile",
            "/app/cert/webserver.key",
            "--ssl-certfile",
            "/app/cert/webserver.crt"
        ],
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "curl --insecure --fail https://localhost/-/health || exit 1"
            ],
            "Interval": 10000000000,
            "Timeout": 5000000000,
            "StartPeriod": 30000000000,
            "Retries": 3
        },
        "ArgsEscaped": true,
        "Image": "sha256:ead9a6be888845b051d165b1eb01b30d5660e7846c95dd0fe9e0ef5b9e58323c",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 729307343,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b130853d173f14b48669758bbecdf2fa92383481e8b39550157b313e3a6cad21/diff:/var/lib/docker/overlay2/13099ded826af828504f0ab57c590df882ecf005e896c8b2ec943d27257a77a6/diff:/var/lib/docker/overlay2/0cb9f383537116cdaf0564433d3f62bbb04455c3bb1cabb7769b90ad016b8136/diff:/var/lib/docker/overlay2/1b4b25d04f1a7652dd2a28c557ee8b55d2c9801ffd6dd0e30368b108bb889855/diff:/var/lib/docker/overlay2/1cf5bae634368cb5354dd0d396a33e3fb7b2742a86d0dc6c8f67500552d3d2ea/diff:/var/lib/docker/overlay2/8cce2aa11fe2e65a5e9fe96e89c9bf6f8a237d4793ac2cabed0c27bbe7ef60a6/diff:/var/lib/docker/overlay2/e6a13785ba6dba560e808aa59d001e00945cda5a60d7654bd8f97cdb6a951d54/diff:/var/lib/docker/overlay2/b9d3b31a60ca2010c47c7b8e6d8c1ba7a872a52d6dcf46af0ebf28bd015e97a3/diff:/var/lib/docker/overlay2/0a10afb00a425553a57cf280e78b9f0ffd9c92380979471e4b95e25b484a9d16/diff:/var/lib/docker/overlay2/fe965aa15728c43706dde4bf002341dad6f21b2242522a45efeca632e81c6da0/diff:/var/lib/docker/overlay2/c21db406a820f59a84b450e6b97a655828258b6e87ea7763896c87e679808ad2/diff:/var/lib/docker/overlay2/05020cdd716af9042a848dfa1a82562fa9510169a4d19fd27c55bee01abe28d6/diff",
            "MergedDir": "/var/lib/docker/overlay2/4bdfeea9974bcb15aff002b5809ef95805ad3062da86c2bb9416abc350498969/merged",
            "UpperDir": "/var/lib/docker/overlay2/4bdfeea9974bcb15aff002b5809ef95805ad3062da86c2bb9416abc350498969/diff",
            "WorkDir": "/var/lib/docker/overlay2/4bdfeea9974bcb15aff002b5809ef95805ad3062da86c2bb9416abc350498969/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d4fc045c9e3a848011de66f34b81f052d4f2c15a17bb196d637e526349601820",
            "sha256:678cac8b069e3d95557415ac228c218d0fff534f1282c9c791b9736f89a7cea2",
            "sha256:0a6ea9dc98f46df6d885ca405a3a27d4d29a18457e8b66f18caa68c27ad194e4",
            "sha256:094e6552fbac261c7145af036fa6596fd1eb0419305afe500b95cdf34e7784f5",
            "sha256:52c2c1228b05598f6d4dfbec146e3b6e8fc1c07f8e7d8f4668a200525f97e8d3",
            "sha256:65a3c24c73a68121f9b7d849cb4244a91eb60a6db0e7fcdef7f49663a96cfea2",
            "sha256:b28f83d0aa356d620f758303fbeee12da705810d0c5588a1bd02e53a1fef097a",
            "sha256:ad738cf7c1fbfc4c37a02dd9da6b2279bc4a22829e4d46c1a26c6aa9f9931e7a",
            "sha256:b7d0608951f781a95d9bbef50ccba1227e1ab9892a188d49ee3ec49d41fa7dde",
            "sha256:31916b153a1bb7bb48b5b98e75d64a9ba1b70646adfea6e05efae9d072e41a36",
            "sha256:e10edca81e9195e18c03c878ae1b11c957c6de17e7c30f082cb22fe00b3b40ea",
            "sha256:732349df5b31116de5ed9601a150adc4752e6796cddaf06d8f317044395311aa",
            "sha256:67d8979b9af4543a7866b310f574f730ad724c91c3f481b50cef3fcfb912b1db"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-06T17:24:14.489553947+08:00"
    }
}

更多版本

docker.io/makedie/fastapi-dls:latest

linux/amd64 docker.io729.31MB2024-11-06 17:24
41