ℹ️
注意:这是一个 latest 标签镜像

latest 并不代表最新版本,本站同步时间存在延迟,无法保证此镜像与上游最新版本一致
生产环境建议使用明确的版本号(如 v1.2.3),避免因版本不一致导致问题。 了解更多 →

logo
docker.io/flyfishdev/file-viewer:latest
linux/amd64 docker.io

docker.io/flyfishdev/file-viewer镜像是一个文件查看工具,支持在线预览多种格式的文件,包括文档(如PDF、Word)、图片、视频等,可在容器环境中快速查看文件内容,无需本地安装相应软件。

10
浏览次数
131.06MB
镜像大小
源镜像
docker.io/flyfishdev/file-viewer:latest
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest
镜像ID
sha256:d20db09d2dd8e2f70634ffef92d256ee0f009c32a77bd3bb0c03e5e28e0b461c
镜像 TAG
latest
镜像大小
131.06MB
平台架构
linux/amd64
镜像源
docker.io
CMD
nginx -g daemon off;
启动入口
/docker-entrypoint.sh
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-06-20T02:36:40.310865542Z
同步时间
2026-06-26 10:06
浏览量
10 次
贡献者
🔌 开放端口 1
80/tcp
⚙️ 环境变量 7
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
NGINX_VERSION=1.29.8 1
PKG_RELEASE=1 2
DYNPKG_RELEASE=1 3
NJS_VERSION=0.9.6 4
NJS_RELEASE=1 5
ACME_VERSION=0.3.1 6
🏷️ 镜像标签 6
KeyValue
NGINX Docker Maintainers <docker-maint@nginx.com> maintainer
Pure web multi-format file viewer demo with standalone document compare page. org.opencontainers.image.description
Apache-2.0 org.opencontainers.image.licenses
https://github.com/flyfish-dev/file-viewer org.opencontainers.image.source
Flyfish Viewer org.opencontainers.image.title
2.0.1 org.opencontainers.image.version
🛡️ 镜像安全扫描
alpine 3.23.4 Trivy 2026-06-26 10:06 查看完整报告
25
低危 LOW
21
中危 MEDIUM
5
高危 HIGH
0
严重 CRITICAL
受影响目标 (1)
docker.io/flyfishdev/file-viewer:latest (alpine 3.23.4) alpine

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest  docker.io/flyfishdev/file-viewer:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest  docker.io/flyfishdev/file-viewer:latest

Shell快速替换命令

sed -i 's#flyfishdev/file-viewer:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-06-20 10:36:40  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "wget -qO- http://127.0.0.1/healthz >/dev/null || exit 1"] "30s" "3s" "10s" "0s" '\x03'}
                        
# 2026-06-20 10:36:40  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2026-06-20 10:36:40  68.88MB 复制新文件或目录到容器中
COPY /app/apps/viewer-demo/dist /usr/share/nginx/html # buildkit
                        
# 2026-06-08 18:24:47  1.03KB 复制新文件或目录到容器中
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf # buildkit
                        
# 2026-06-08 18:24:47  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Flyfish Viewer org.opencontainers.image.description=Pure web multi-format file viewer demo with standalone document compare page. org.opencontainers.image.version=2.0.1 org.opencontainers.image.source=https://github.com/flyfish-dev/file-viewer org.opencontainers.image.licenses=Apache-2.0
                        
# 2026-06-08 18:24:47  0.00B 定义构建参数
ARG APP_VERSION=0.0.0
                        
# 2026-04-16 05:19:04  49.44MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x     && apkArch="$(cat /etc/apk/arch)"     && nginxPackages="         nginx=${NGINX_VERSION}-r${PKG_RELEASE}         nginx-module-xslt=${NGINX_VERSION}-r${DYNPKG_RELEASE}         nginx-module-geoip=${NGINX_VERSION}-r${DYNPKG_RELEASE}         nginx-module-image-filter=${NGINX_VERSION}-r${DYNPKG_RELEASE}         nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${NJS_RELEASE}         nginx-module-acme=${NGINX_VERSION}.${ACME_VERSION}-r${PKG_RELEASE}     "     && apk add --no-cache --virtual .checksum-deps         openssl     && case "$apkArch" in         x86_64|aarch64)             apk add -X "https://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages             ;;         *)             set -x             && tempDir="$(mktemp -d)"             && chown nobody:nobody $tempDir             && apk add --no-cache --virtual .build-deps                 gcc                 libc-dev                 make                 openssl-dev                 pcre2-dev                 zlib-dev                 linux-headers                 libxslt-dev                 gd-dev                 geoip-dev                 libedit-dev                 bash                 alpine-sdk                 findutils                 curl                 cargo                 clang-libclang             && su nobody -s /bin/sh -c "                 export HOME=${tempDir}                 && cd ${tempDir}                 && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && PKGOSSCHECKSUM=\"7074c3ba1ece708140afd0220b16df77651fbb56cc012e901bc1c4a80531872b7a58ad97a28357646575ce625e94a0540796c045f95d33e40e6d3874ce7b3d79 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\"                 && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then                     echo \"pkg-oss tarball checksum verification succeeded!\";                 else                     echo \"pkg-oss tarball checksum verification failed!\";                     exit 1;                 fi                 && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE}                 && cd alpine                 && export BUILDTARGET=\"module-geoip module-image-filter module-njs module-xslt module-acme\"                 && if [ \"\$(apk --print-arch)\" = \"armhf\" ]; then BUILDTARGET=\"\$( echo \$BUILDTARGET | sed 's,module-acme,,' )\"; fi                 && make \$BUILDTARGET                 && apk index --allow-untrusted -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk                 && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz                 "             && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/             && apk del --no-network .build-deps             && if [ "$apkArch" = "armhf" ]; then nginxPackages="$( echo $nginxPackages | sed 's,nginx-module-acme=.*,,')"; fi             && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages             ;;     esac     && apk del --no-network .checksum-deps     && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi     && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi     && apk add --no-cache curl ca-certificates # buildkit
                        
# 2026-04-16 05:19:04  0.00B 设置环境变量 ACME_VERSION
ENV ACME_VERSION=0.3.1
                        
# 2026-04-16 05:19:04  0.00B 设置环境变量 NJS_RELEASE
ENV NJS_RELEASE=1
                        
# 2026-04-16 05:19:04  0.00B 设置环境变量 NJS_VERSION
ENV NJS_VERSION=0.9.6
                        
# 2026-04-16 04:17:53  0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
                        
# 2026-04-16 04:17:53  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2026-04-16 04:17:53  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2026-04-16 04:17:53  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2026-04-16 04:17:53  4.62KB 复制新文件或目录到容器中
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
                        
# 2026-04-16 04:17:53  3.02KB 复制新文件或目录到容器中
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
                        
# 2026-04-16 04:17:53  389.00B 复制新文件或目录到容器中
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
                        
# 2026-04-16 04:17:52  2.12KB 复制新文件或目录到容器中
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
                        
# 2026-04-16 04:17:52  1.62KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2026-04-16 04:17:52  4.28MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x     && addgroup -g 101 -S nginx     && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx     && apkArch="$(cat /etc/apk/arch)"     && nginxPackages="         nginx=${NGINX_VERSION}-r${PKG_RELEASE}     "     && apk add --no-cache --virtual .checksum-deps         openssl     && case "$apkArch" in         x86_64|aarch64)             set -x             && KEY_SHA512="e09fa32f0a0eab2b879ccbbc4d0e4fb9751486eedda75e35fac65802cc9faa266425edf83e261137a2f4d16281ce2c1a5f4502930fe75154723da014214f0655"             && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub             && if echo "$KEY_SHA512 */tmp/nginx_signing.rsa.pub" | sha512sum -c -; then                 echo "key verification succeeded!";                 mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/;             else                 echo "key verification failed!";                 exit 1;             fi             && DEPS=$(apk query --summarize depends --recursive --no-cache                        --repository "@nginxorg https://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main"                        ${nginxPackages/=/@nginxorg=})             && apk add --no-cache $DEPS             && apk add --repositories-file /dev/null -X "https://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages             ;;         *)             set -x             && tempDir="$(mktemp -d)"             && chown nobody:nobody $tempDir             && apk add --no-cache --virtual .build-deps                 gcc                 libc-dev                 make                 openssl-dev                 pcre2-dev                 zlib-dev                 linux-headers                 bash                 alpine-sdk                 findutils                 curl             && su nobody -s /bin/sh -c "                 export HOME=${tempDir}                 && cd ${tempDir}                 && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && PKGOSSCHECKSUM=\"7074c3ba1ece708140afd0220b16df77651fbb56cc012e901bc1c4a80531872b7a58ad97a28357646575ce625e94a0540796c045f95d33e40e6d3874ce7b3d79 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\"                 && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then                     echo \"pkg-oss tarball checksum verification succeeded!\";                 else                     echo \"pkg-oss tarball checksum verification failed!\";                     exit 1;                 fi                 && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE}                 && cd alpine                 && make base                 && apk index --allow-untrusted -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk                 && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz                 "             && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/             && apk del --no-network .build-deps             && DEPS=$(apk query --summarize depends --recursive --no-cache                        --repository "@nginxorg ${tempDir}/packages/alpine/"                        ${nginxPackages/=/@nginxorg=})             && apk add --no-cache $DEPS             && apk add --repositories-file /dev/null -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages             ;;     esac     && apk del --no-network .checksum-deps     && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi     && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi     && apk add --no-cache gettext-envsubst     && apk add --no-cache tzdata     && ln -sf /dev/stdout /var/log/nginx/access.log     && ln -sf /dev/stderr /var/log/nginx/error.log     && mkdir /docker-entrypoint.d # buildkit
                        
# 2026-04-16 04:17:52  0.00B 设置环境变量 DYNPKG_RELEASE
ENV DYNPKG_RELEASE=1
                        
# 2026-04-16 04:17:52  0.00B 设置环境变量 PKG_RELEASE
ENV PKG_RELEASE=1
                        
# 2026-04-16 04:17:52  0.00B 设置环境变量 NGINX_VERSION
ENV NGINX_VERSION=1.29.8
                        
# 2026-04-16 04:17:52  0.00B 添加元数据标签
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2026-04-16 04:01:40  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2026-04-16 04:01:40  8.45MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:d20db09d2dd8e2f70634ffef92d256ee0f009c32a77bd3bb0c03e5e28e0b461c",
    "RepoTags": [
        "flyfishdev/file-viewer:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer:latest"
    ],
    "RepoDigests": [
        "flyfishdev/file-viewer@sha256:64886b2d8bab3f4e4530a2b3951320338564351799562d7ff6d9acfa8d3283c5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/flyfishdev/file-viewer@sha256:a72f775f62aebdb58dec184875405fde95216c6c74deb54044e87079c74223a6"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-06-20T02:36:40.310865542Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGINX_VERSION=1.29.8",
            "PKG_RELEASE=1",
            "DYNPKG_RELEASE=1",
            "NJS_VERSION=0.9.6",
            "NJS_RELEASE=1",
            "ACME_VERSION=0.3.1"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "wget -qO- http://127.0.0.1/healthz \u003e/dev/null || exit 1"
            ],
            "Interval": 30000000000,
            "Timeout": 3000000000,
            "StartPeriod": 10000000000,
            "Retries": 3
        },
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e",
            "org.opencontainers.image.description": "Pure web multi-format file viewer demo with standalone document compare page.",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.source": "https://github.com/flyfish-dev/file-viewer",
            "org.opencontainers.image.title": "Flyfish Viewer",
            "org.opencontainers.image.version": "2.0.1"
        },
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 131063802,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e4b2be45600b57856f782b31a0afba36ecaaf4a2fe552c98b8476ac43037d459/diff:/var/lib/docker/overlay2/540930fdffa8c58ade8e907357e4d21b19957c31f346ddb3086aabbbb6f59296/diff:/var/lib/docker/overlay2/0329bf1960f1914b6a087770c3a409b656dd5ae35a19e0486d5521b609a96525/diff:/var/lib/docker/overlay2/ee82e9cee1bee326254079d494b01cd81999ac77576edad5f908bdd312c79c07/diff:/var/lib/docker/overlay2/a7daa6e58fdbf18ecc404b6d1f682ff29a5aac6e7c58c065b0f7f200cbb7b252/diff:/var/lib/docker/overlay2/ef87c158e7c4802b5c84168b406a6d7ef7a1b194391e9681f90067abfbdb1183/diff:/var/lib/docker/overlay2/b9dca5c07ca66c45cecdf22aea3eb56e5a0e42cb8e591270d89f7756c1a42f5c/diff:/var/lib/docker/overlay2/a4d92b8497d6e24bdd05d56c90ee6a5dc6568e7fdda91d55700e9a162caf7382/diff:/var/lib/docker/overlay2/9a1ef5a883ef2cbf9a0d960bba5d783f7ecd7d9d3ba8bb8cd5537b33d65a942f/diff",
            "MergedDir": "/var/lib/docker/overlay2/27db6c99bcbc38744c0cf9fe36a3b62ce7a2fff9d8d1f3af6b06ea7250df4f6d/merged",
            "UpperDir": "/var/lib/docker/overlay2/27db6c99bcbc38744c0cf9fe36a3b62ce7a2fff9d8d1f3af6b06ea7250df4f6d/diff",
            "WorkDir": "/var/lib/docker/overlay2/27db6c99bcbc38744c0cf9fe36a3b62ce7a2fff9d8d1f3af6b06ea7250df4f6d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:29df493baa13de438d6d2ece3a8333032e0b7b9b9d8cce4ee82194da255f61e1",
            "sha256:e6082cdc2516c48531390c6f369268148ed5189748b4cdbcb30d8de04d4ef146",
            "sha256:f4eddaa4c30384a3db34177c1132ca20f44c1216fe41ba7f607dcee58b908104",
            "sha256:00a43f6306382cee5fdb8e738ce0b5c7022448687d5edea1912e169c6ee03ebb",
            "sha256:f7b74afe8798753eb53d962f1676c409e590b5865b456c309c2e364cfe98f55e",
            "sha256:646d544dc619be2ab0e784ee691dc06e7a1d5ca76176b6e7fb1c8933b58350ff",
            "sha256:2b12ccfb247ac0c9ec2d186864ef4f2a893499e24935b14941e74aec27e62143",
            "sha256:36c003a300d15169fe53876c4c807b1668568414660e5249ba6d168badab54fa",
            "sha256:cf333b24b29cd189d9b2fe2137803c3693c680c9d55a474826afb7c994ec144a",
            "sha256:f58e15e8bbf00796d90a3cad3e27b49eb3620720c0635e32913b2c8e717a3b2b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-06-26T10:06:13.182133788+08:00"
    }
}

更多版本

docker.io/flyfishdev/file-viewer:latest

linux/amd64 docker.io131.06MB2026-06-26 10:06
9
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×