docker.io/koishijs/koishi:v1.15.0 linux/amd64

docker.io/koishijs/koishi:v1.15.0 - 国内下载镜像源 浏览次数:21

Koishi.js 容器镜像

这是一个 Koishi.js 的官方 Docker 容器镜像,它包含了 Koishi.js 的运行时环境以及一些常用插件。你可以使用它来快速搭建 Koishi.js 应用。

镜像特点

* 包含 Koishi.js 的核心库和常用插件。 * 预装了 Node.js 和 npm。 * 支持自定义配置。

使用方法

你可以使用以下命令来运行 Koishi.js 容器: ``` docker run -d -p 5700:5700 docker.io/koishijs/koishi ``` 这将在你的机器上运行 Koishi.js 容器,并将容器的端口 5700 映射到主机的端口 5700。你可以在浏览器中访问 `http://localhost:5700` 来查看 Koishi.js 的控制台。 更多关于 Koishi.js 的信息,请访问官方网站:https://koishi.js.org/
源镜像 docker.io/koishijs/koishi:v1.15.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0
镜像ID sha256:a193c3590c6cfcf5fcc0878259e2524d02286ea189133d21b520e89b40d22871
镜像TAG v1.15.0
大小 882.02MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD yarn start
启动入口 /entrypoint.sh
工作目录 /koishi
OS/平台 linux/amd64
浏览量 21 次
贡献者 ch*******i@qq.com
镜像创建 2024-08-07T04:03:14.738110292Z
同步时间 2024-11-15 15:26
更新时间 2024-11-20 13:45
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.16.0 YARN_VERSION=1.22.22
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.2 扫描引擎: Trivy 扫描时间: 2024-11-15 15:26

低危漏洞:2 中危漏洞:5 高危漏洞:3 严重漏洞:3

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0  docker.io/koishijs/koishi:v1.15.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0  docker.io/koishijs/koishi:v1.15.0

Shell快速替换命令

sed -i 's#koishijs/koishi:v1.15.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0  docker.io/koishijs/koishi:v1.15.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0  docker.io/koishijs/koishi:v1.15.0'

镜像历史

大小 创建时间 层信息
0.00B 2024-08-07 12:03:14 CMD ["yarn" "start"]
0.00B 2024-08-07 12:03:14 ENTRYPOINT ["/entrypoint.sh"]
0.00B 2024-08-07 12:03:14 WORKDIR /koishi
0.00B 2024-08-07 12:03:14 VOLUME [/koishi]
734.75MB 2024-08-07 12:03:14 RUN /bin/sh -c apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont font-noto-cjk # buildkit
225.00B 2024-08-07 12:03:07 COPY ./entrypoint.sh / # buildkit
14.13MB 2024-08-07 12:03:07 COPY /boilerplate.zip /boilerplate.zip # buildkit
0.00B 2024-07-24 22:04:57 CMD ["node"]
0.00B 2024-07-24 22:04:57 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-07-24 22:04:57 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
5.59MB 2024-07-24 22:04:57 RUN /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apk del .build-deps-yarn && yarn --version && rm -rf /tmp/* # buildkit
0.00B 2024-07-24 22:04:57 ENV YARN_VERSION=1.22.22
119.75MB 2024-07-24 22:04:57 RUN /bin/sh -c addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node && apk add --no-cache libstdc++ && apk add --no-cache --virtual .build-deps curl && ARCH= OPENSSL_ARCH='linux*' && alpineArch="$(apk --print-arch)" && case "${alpineArch##*-}" in x86_64) ARCH='x64' CHECKSUM="40efcec63e42ca58a39cc89c99d8852bd31ea09e046966b321fd337be999651d" OPENSSL_ARCH=linux-x86_64;; x86) OPENSSL_ARCH=linux-elf;; aarch64) OPENSSL_ARCH=linux-aarch64;; arm*) OPENSSL_ARCH=linux-armv4;; ppc64le) OPENSSL_ARCH=linux-ppc64le;; s390x) OPENSSL_ARCH=linux-s390x;; *) ;; esac && if [ -n "${CHECKSUM}" ]; then set -eu; curl -fsSLO --compressed "https://unofficial-builds.nodejs.org/download/release/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz"; echo "$CHECKSUM node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && ln -s /usr/local/bin/node /usr/local/bin/nodejs; else echo "Building from source" && apk add --no-cache --virtual .build-deps-full binutils-gold g++ gcc gnupg libgcc linux-headers make python3 py-setuptools && export GNUPGHOME="$(mktemp -d)" && for key in 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 74F12602B6F1C4E913FAA37AD3A89613643B6201 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 CC68F5A3106FF448322E48ED27F5E38D5B0A215F ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xf "node-v$NODE_VERSION.tar.xz" && cd "node-v$NODE_VERSION" && ./configure && make -j$(getconf _NPROCESSORS_ONLN) V= && make install && apk del .build-deps-full && cd .. && rm -Rf "node-v$NODE_VERSION" && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt; fi && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apk del .build-deps && node --version && npm --version # buildkit
0.00B 2024-07-24 22:04:57 ENV NODE_VERSION=20.16.0
0.00B 2024-07-23 06:26:43 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-07-23 06:26:43 /bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in /

镜像信息

{
    "Id": "sha256:a193c3590c6cfcf5fcc0878259e2524d02286ea189133d21b520e89b40d22871",
    "RepoTags": [
        "koishijs/koishi:v1.15.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi:v1.15.0"
    ],
    "RepoDigests": [
        "koishijs/koishi@sha256:5ca9ad9f1a21ec2fb5e7e89717f348d113ea62707e41fcdc2dede3632308b6d5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/koishijs/koishi@sha256:bacbb1d6ad9281409c8ded20f4fae5a19012b652004db945b0aff13f2aac34d8"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-07T04:03:14.738110292Z",
    "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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=20.16.0",
            "YARN_VERSION=1.22.22"
        ],
        "Cmd": [
            "yarn",
            "start"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/koishi": {}
        },
        "WorkingDir": "/koishi",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 882017026,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/61dab00d50b2f255f6ad154138d58500da45722b7dd5b998fd9116c2fe49dd99/diff:/var/lib/docker/overlay2/f216b1a06f5c57c98d28c6e2b6bfdfae6349f71150bdea5f94a11d74e243f881/diff:/var/lib/docker/overlay2/83e8ae8c5c18ae08ac135c47a23b677a1d7c9f6ce625f88f582c92d60a692025/diff:/var/lib/docker/overlay2/409fb09081943be3d04cff219245483c33ccde2f380e35aef41ee7c517f7854e/diff:/var/lib/docker/overlay2/92c09cb4f2651df45fbbd4e5031a76c5017ea64ea32dbc495cc7cce77af5b147/diff:/var/lib/docker/overlay2/1311b602a79277f268dd2343d63618416c024e5fce24b14bb7e064d6b964d92f/diff:/var/lib/docker/overlay2/6b736cf74095717c4cbf3e6a19162c63e9ede1f9c1cb420b153aca1c55db4476/diff",
            "MergedDir": "/var/lib/docker/overlay2/c269c2fe7e1afcd7e9562b0de34d0e85797411f71a8e2a2538c14486f27bc163/merged",
            "UpperDir": "/var/lib/docker/overlay2/c269c2fe7e1afcd7e9562b0de34d0e85797411f71a8e2a2538c14486f27bc163/diff",
            "WorkDir": "/var/lib/docker/overlay2/c269c2fe7e1afcd7e9562b0de34d0e85797411f71a8e2a2538c14486f27bc163/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:aba337309a792c08ec970f9184f11e38ff21240b0cf3a36fc31ba971e03c722f",
            "sha256:d21971417e92faa0619e5a559abc01c5697e1b55cb0d33fed97abeace4194358",
            "sha256:364f90d01431b4bcbc4c0fc576273faa0d1794fdd4e77f420e74036c9da71f53",
            "sha256:8fc393ca9d6c03796068248bd311035e7cc3b9aa259ec82b5cbd65c48111e6db",
            "sha256:c49b80eb353917433381835373caf0ec40762d6b2b7a67abffe7f1789c99c449",
            "sha256:377987ac7e53ac50f88b315e5de88754614fcb5791b8f8336cf81fe2135a6bb9",
            "sha256:cd223d77a972a8947a1251f320b4d53f9400406dfac31f6b4b1fb1a79d9ac1e2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-15T15:25:21.618041876+08:00"
    }
}

更多版本

docker.io/koishijs/koishi:v1.15.0

linux/amd64 docker.io882.02MB2024-11-15 15:26
20